I am having problem converting .cu
to .ptx
. I am using nvcc
as follows:
"C:\ Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\bin\nvcc" -ptx -ccbin "C:\ Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin" -o foo.ptx foo.cu
The following is displayed in return:
foo.cu c1xx : fatal error C1083: cannot open source file: 'foo.cu': No such file or directory
foo.cu
is located in the \CUDA\v5.0\bin
.