views:

2336

answers:

3
+11  Q: 

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.

+7  A: 

The nvidia examples come with a complete C# project to interface to Cuda, using it as an example project may be all you need.

XPav
Where? I can't find it.
TraumaPony
I cannot find it either, which is the package I need to get?
galets
Me neither. Any ideas?
Wayne
+6  A: 

Here's another library: http://brahma.ananthonline.net/

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.
torial
Brahma uses HLSL/GLSL, not CUDA.
Danny Varod
+3  A: 

Microsoft Research have a project called "Accelerator" http://research.microsoft.com/apps/pubs/default.aspx?id=70250

Accelerator doesn't use CUDA (uses pixel-shaders).
Danny Varod