1. Got Cuda SDK https://developer.nvidia.com/cuda-downloads
2. Got Cudafy.NET
Installed SDK: C:\Users\dave\Documents\CudafySDK
Can’t find the 2010 C++ compiler
Setting up the path and my x64 machine
Still didn’t work…
C:\ProgramData\NVIDIA Corporation\CUDA Samples\v5.0
Okay can get it working by doing vcvars32 from the shell, then cl works.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
Got rid of error by following http://stackoverflow.com/questions/2970493/cuda-linking-error-visual-express-2008-nvcc-fatal-due-to-null-configuratio and making an amd64.bat:
I solved the problem by 1. installing Windows SDK (don't forget to choose all x64 options for 64 bit OS) 2. include "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64" in PATH 3. create file vcvars64.bat inside directory "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64" with following content: call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
Note: I did this because: 1. I am using VC++ Express 2010 2. I dont have "vcvars64.bat" in any directory ??
The cudafy installer RunTest still showed:
but example seems to compile and run!
Cudafy.NET working inside VS2012