I want to use nvcc -ptx
from windows command line, but I always get this error message:
nvcc : fatal error : Microsoft Visual Studio configuration file \'vcvars
From NVIDIA CUDA Compiler Driver document
1.2. Supported Host Compilers nvcc uses the following compilers for host code compilation:
On Linux platforms
The GNU compiler, gcc, and arm-linux-gnueabihf-g++ for cross compilation to the ARMv7 architecture
On Windows platforms
The Microsoft Visual Studio compiler, cl On both platforms, the compiler found on the current execution search path will be used, unless nvcc option -compiler-bindir is specified (see File and Path Specifications).