Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CUDA for .net?

I know that there are a lot of CUDA language bindings, such as PyCUDA, but are there any good bindings for .Net? The only one I've seen is this one, but I'd like to know if there are any others.

like image 409
TraumaPony Avatar asked Oct 23 '08 06:10

TraumaPony


People also ask

Can I use CUDA with C#?

(recommended) You can use free/opensource/proprietary compilers (which will generate cuda (either source or binary) from your c# code.

Can C# use the GPU?

The Hybridizer Pipeline. Hybridizer is a compiler from Altimesh that lets you program GPUs and other accelerators from C# code or . NET Assembly. Using decorated symbols to express parallelism, Hybridizer generates source code or binaries optimized for multicore CPUs and GPUs.

What is CUDA used for?

CUDA is a parallel computing platform and programming model for general computing on graphical processing units (GPUs). With CUDA, you can speed up applications by harnessing the power of GPUs.

Is CUDA C or C ++?

CUDA C is essentially C/C++ with a few extensions that allow one to execute functions on the GPU using many threads in parallel.


1 Answers

Here's another library: http://sourceforge.net/projects/brahma-fx/

Edit: I've been looking at the documentation for the project you initially listed, and can say that the interface makes me think: what is the point of using .Net. The project I've listed has a cleaner interface but no documentation. The project you listed seems to be more dedicated in the development path ( a recent 2.1 release), but the SVN of Brahma isn't too old (5 wks).

Another poster listed the Accelerator framework. It looks very promising, although its license is non-commercial (you must contact them if you intend to use it for any commercial work), and when I installed it, it said it installed right and I can't find it on my system (this could have been a Vista issue)!

EDIT: I have looked into the various libraries, and can say here is my "recommendations":

  1. If you are planning on using LINQ and only .Net 3.5, use Brahma.
  2. If you are non-commercial in your goal, use the Accelerator project that the other poster gave (Tim, I believe). It is higher level than the project you mentioned.
  3. If you don't care about low-level details, but very active project and documentation is desired then go with the project you listed.
like image 112
torial Avatar answered Nov 04 '22 04:11

torial