Hi,
In cuda 10.1 icc 19 is supported but gives “nvcc fatal host compiler targets unsupported os”
In cuda 10.2 clang 8 is supported but gives “nvcc fatal host compiler targets unsupported os” if used with ncc, e.g. -ccbin=“C:\Program Files\LLVM\bin\clang++.exe”
or
gives “cannot find libdevice for sm_61” when used with clang++, e.g. clang++ axpy.cu -o axpy --cuda-gpu-arch=sm_61 -L"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/lib/" --cuda-path=“C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/” -lcudart_static -ldl -lrt -pthread
Could someone please tell me how to use both compilers with a bat file in windows?