I am a new member on CUDA forum, I work in the Laboratory of Plasma Physics (LPP). I would like to Promote CUDA in this lab, so in some weeks I wil make for them a smal presentation of CUDA.
First of all I have to make somes demo to show how fast it is and if it is easy to write code with this API. But I would like to use Visual studio .net (C# and VB) I make some codes with GAS’s CUDA.NET and the issue is that CUDA.NET isn’t open source and it isn’t easy to make complex code in GPU, I just try CUFFT methode…
That why I would like to make my own .NET DLL (it will be open source), so I will be able to write in C/C++ complex computing code without always switching from managed code to unmanaged code(like it seams to be in CUDA.net). So I would just have write in VB# or VC# .NET the graphical interface(with PLOTLAB.NET).
I’ve started to write this DLL but I don’t realy understand how to use NVIDIA Types in my DLL I can’t convert any pointers from .net managed environement to my C/C++ code (I tried with cucomplex struct it doesn’t whant to convert any pointer of a structure of float to cucomplex).
Does somebody know how could I do or how GAS did to make visible CUDA’s type to .net code?
Maybe should I make a simple win32 DLL and then wrap in VB.NET class?