I think I read somewhere that nvcc doesn’t work with the 64-bit MSVC compiler…is this true? If so, how can I set up a Visual Studio project to use the 32-bit cl when invoking nvcc, but the 64-bit cl otherwise? Currently, when I try compiling a .cu in the x64 configuration of my project, I get the following error:
nvcc fatal : nvcc cannot find a supported cl version. Only MSVC 8.0 and MSVC 9.0 are supported
I am using MSVC 8.0. I get the same error when running from the 64-bit Visual Studio command prompt. If I switch to the Win32 configuration or run from the 32-bit command prompt, the error disappears and I can compile without issues.