kaby76 / campy Goto Github PK
View Code? Open in Web Editor NEWA compiler for NET CIL for GP-GPU computing in .NET languages.
Home Page: http://www.campynet.com
License: MIT License
A compiler for NET CIL for GP-GPU computing in .NET languages.
Home Page: http://www.campynet.com
License: MIT License
Hello fellow DNA enthusiast!
This is not really an issue, more of a question.
As a maintainer of another DNA clone, it would be very interesting to understand better the extent of your changes on top of the original DNA (a Blazor fork as baseline, I assume), for example what did you fix for 64-bit support, or anything else from the top of your head that you wish to share.
Just skimming through the code, I see these changes:
I'm sure this only touches the surface, perhaps I'm missing some of the changes.
Looks like an awesome project, the GPU target looks very interesting.
Thank you, I appreciate your help and time.
I'm trying to Math.Log(10)
, but failed.
System.Exception: 'Cannot find System.Double System.Math::Log(System.Double)
Your project looks cool, but we're struggling to get things running.
For the Visual Studio project we get errors finding the swigged.llvm package version 70.0.0 (which one of your comments indicated have not been published yet).
For the command line / bash instructions we compile successfully, but then get an error:
DllLoadException
- Unable to load DLL campy-runtime-wrapper", even though the .dll is present in the 'publish' directory.We're running VS 2017 under Windows 10.
Can you give any advise on how we might try to get a running version?
Do we also have to compile and package swigged.llvm and publish to a local dir, or can you suggest a simpler route?
When run code from readme i see error
System.DllNotFoundException: Unable to load DLL 'campy-runtime-wrapper' or one of its dependencies: Не найден указанный модуль. (Exception from HRESULT: 0x8007007E)
at Campy.Meta.RUNTIME.InitTheBcl(IntPtr a1, Int64 a2, Int64 a3, Int32 a4)
at Campy.Compiler.COMPILER.InitBCL() in C:\Users\Kenne\Documents\Campy2\Campy.Compiler\compiler.cs:line 1680
at Campy.Compiler.COMPILER..ctor() in C:\Users\Kenne\Documents\Campy2\Campy.Compiler\compiler.cs:line 1181
at Campy.Compiler.COMPILER.get_Singleton() in C:\Users\Kenne\Documents\Campy2\Campy.Compiler\compiler.cs:line 1071
at Campy.Parallel..ctor() in C:\Users\Kenne\Documents\Campy2\Campy\Parallel.cs:line 20
at Campy.Parallel.get_Singleton() in C:\Users\Kenne\Documents\Campy2\Campy\Parallel.cs:line 30
at Campy.Parallel.<>c__DisplayClass12_1.<For>b__0() in C:\Users\Kenne\Documents\Campy2\Campy\Parallel.cs:line 109
at Campy.Utils.TimePhase.Time(String phase_name, Action action) in C:\Users\Kenne\Documents\Campy2\Campy.Utils\TimePhase.cs:line 16
at Campy.Parallel.For(Int32 number_of_threads, SimpleKernel simpleKernel) in C:\Users\Kenne\Documents\Campy2\Campy\Parallel.cs:line 107
int n = 4;
int[] x = new int[n];
Campy.Parallel.For(n, i => x[i] = i);
for (int i = 0; i < n; ++i)
System.Console.WriteLine(x[i]);
Console.WriteLine("Hello World!");
Hi @kaby76 Could you explaine a little bit about the difference betwee ManagedCuda and Campy
? I'm just confusied to choose.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.