You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ashley Hauck 449b6f7077 Began work on Roslyn-based CudaSharpCompiler 12 years ago
CudaSharp Implemented integer casting 12 years ago
CudaSharpCompiler Began work on Roslyn-based CudaSharpCompiler 12 years ago
CudaSharpTest Implemented integer casting 12 years ago
.gitattributes First working version 12 years ago
.gitignore First working version 12 years ago
CudaSharp.sln Began work on Roslyn-based CudaSharpCompiler 12 years ago
README.md Began work on Roslyn-based CudaSharpCompiler 12 years ago

README.md

CudaSharp

A library to make C# run on CUDA-enabled GPUs

This library is not complete and is not intended for general use. Testers are, however, very welcome.

C# is executed on the GPU like so:

  • Your C# compiler translates C# to .net CIL

  • Calling the CudaSharp.Translate method reads the CIL, translates to LLVM IR, and compiles to NVIDIA PTX

  • Use your GPU library of choice (for example, ManagedCuda) to read in the PTX file and execute it on the GPU

For an example usage, see CudaSharpTest/UnitTests.cs