Using the compiler version 3.1 included in Nsight (?), when my propertysheet for Parallel Nsight runtime API, additional include directories, starts of with .; other directories, the compiler will not compile the .cu file at all, but claim it does not know what to do with the file: 1>nvcc HÃ¢âˆž(Ã‡=yâ–‘: Don’t know what to do with 'SDK/C/src/triangle_distance/triangle_distance_kernel.cu ’
As you see, the response contains garbage.
Changing the backslash to a forward slash solves the problem.
It took me 2 hours to find out. I haven’t researched other pathnames with backslash(es), but I think it is usually not a problem to use backslashes. This must be a weird exception.
NVCC --version produces:
nvcc: NVIDIA Â® Cuda compiler driver
Copyright Â© 2005-2010 NVIDIA Corporation
Built on Tue_Jun__8_02:51:43_PDT_2010
Cuda compilation tools, release 3.1, V0.2.1221