I am trying to use the nvcc compiler tool that comes with CUDA (v 2.1) with the Intel C++ compiler inside VS 2008. So far I have not been able to do this successfully.
I get the following error from nvcc -
"C:\CUDA\bin\nvcc.exe" -arch sm_11 -ccbin "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin" -Xcompiler "/EHsc /W3 /nologo /O2 /Zi /MT " -IC:\CUDA\include -I..\Include -maxrregcount=[Value] --compile -o ReleaseCEV2\CudaFile.cu.obj src\CudaFile.cu
1>nvcc fatal : '[Value]': expected a number
What am I not doing correctly?
If I simply switch back to the Microsoft compiler, my project builds fine.
Thanks in advance!