CUDA C # .Net Sample Project? VS2010

I would like to know if anyone has a CUDA C # .Net project that works with VS 2010. I am running all 64bit and CUDA 4.0.

I tried the following:

GPU.Net - failure, their application will not be installed due to a problem with the proxy license.

Cudafy - Crash, samples will not start due to the error message β€œvsvars32.bat is missing”, although I am targeting x64 (I think this should be a problem with Cudafy or nvcc.exe code

GASS.Net is a crash, they have a .dll and a manual, but not a single sample of the project (which I could find), and their manual has a passage (jumps directly to the technical specifications, this is not a tutorial)

No luck with VS2010, I switched to VS2008 and VC ++:

http://llpanorama.wordpress.com/2010/06/18/cuda-gets-easier/ ... however, his example crashes exactly because the cuda.rules file is no longer in cuda 4.0, which makes it impossible to complete its step-by-step manuals (at least since 4.0).

I also tried many blog examples, forums, and other Google related links. So far, all attempts have led to failure. However, I can run sample libraries that come with the SDK. They are written for VS2010 and VC ++. I want this to work with C #.

+5
source share
3 answers

CUDA.NET CUDA ( - 64- _v2, dllimport). . , CUDAfy.NET. (LPGPL), CUDA.NET . - CUDAfy codeproject, : Cudafy GPGPU .NET

+3
+2

GASS.Net 2.3.7. , : -arch = sm_xx , xx - . - , - :

  • LIB C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB
  • LIBPATH C:\Windows\Microsoft.NET\Framework\v3.5; C:\Windows\Microsoft.NET\Framework\v2.0.50727; C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB
  • CUDA_LIB_PATH% CUDA_PATH%\lib\x64
  • CUDA_PATH C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\
  • CUDA_BIN_PATH% CUDA_PATH%\bin
  • CUDA_INC_PATH% CUDA_PATH%\include
  • CUDA_PATH_V4_0 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\
  • INCLUDE C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE
  • C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin \;% SystemRoot%\system32;% SystemRoot%;% SystemRoot%\System32\Wbem;% SYSTEMROOT%\System32\WindowsPowerShell\v1.0 \; C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn \; C:\Program Files\Microsoft SQL Server\100\Tools\Binn \; C:\Program Files\Microsoft SQL \100\DTS\Binn \; C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE; C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN; C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools; C:\Windows\Microsoft.NET\Framework\v3.5; C:\Windows\Microsoft.NET\Framework\v2.0.50727; C:\Program Files (x86 )\Microsoft Visual Studio 9.0\VC\VCPackages
  • VCINSTALLDIR C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
  • VS100COMNTOOLS C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
  • VS90COMNTOOLS C: \ Program Files (x86) \ Microsoft Visual Studio 9.0 \ Common7 \ Tools \
  • VSINSTALLDIR C: \ Program Files (x86) \ Microsoft Visual Studio 9.0
+1
source

All Articles