I’ve been doing a lot of research, but I am new enough to where it doesn’t make much sense. I understand that in order to use CUDA with C#, one has to compile a CUDA program as a DLL, and then call the dll from within C#. I can’t find any good sample code for doing so.
Does any one have a Visual Studio example for doing this? I’m normally a linux developer, so I’m a bit lost with Visual Studio.
Any help would be very appreciated.
P.S I looked into CUDA.NET but I read many reports of it being very unreliable, so it might just be simpler to write my own wrapper of sorts.