csigg added a comment.

> I'll be adding a `CUDA_ROOT` option to CMake that will be passed to clang as 
> `--cuda-path`.

I'm not familiar with CMake and whether that option is picked up from an 
environment variable, but on Windows that environment variable that the CUDA 
installer sets is `CUDA_PATH`:
https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#build-customizations-for-existing-projects

On Linux you are expected to add the <cuda root>/bin directory to the `PATH` 
environment variable.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75811/new/

https://reviews.llvm.org/D75811



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to