Artem-B wrote:

I am surprised that this is needed. I suspect clang picks the default CUDA 
version on your machine.

While `--no-cuda-version-check` will make the test work, it will still pick 
CUDA installation ourside of the source tree, and then suppress the error.

A better way to fix this may be to pass 
`--cuda-path=%S/Inputs/CUDA_111/usr/local/cuda` and make the test hermetic.



https://github.com/llvm/llvm-project/pull/117415
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to