Given multiple installations installed of Visual Studio/VC++ on Windows,
with none of them normally in the PATH, how does clang-cl choose which
one to use at compile/link time as the clang backend ?
___
cfe-users mailing list
cfe-users@lists.llvm.org
Given multiple installations installed of Visual Studio on Windows, with
none of them normally in the PATH, how does clang-cl choose which one to
use at compile/link time as the VC++ backend ?
___
cfe-users mailing list
cfe-users@lists.llvm.org
https:
According to
https://llvm.org/docs/CompileCudaWithLLVM.html#detecting-clang-vs-nvcc-from-code
if I compile a CUDA file then __CUDACC__ should be defined. I have this
program as 'clang_cuda.cu':
#if !defined(__clang__)
#error Clang is not defined
#elif !defined(__CUDACC__)
#error __CUDACC__