================
@@ -0,0 +1,7 @@
+/// Some target-specific options are ignored for GPU, so %clang exits with 
code 0.
+// DEFINE: %{gpu_opts} = --cuda-gpu-arch=sm_60 
--cuda-path=%S/Inputs/CUDA/usr/local/cuda --no-cuda-version-check
----------------
Artem-B wrote:

For the purpose of warning checking, we can drop this altogether and use 
`-nogpuinc -nogpulib` . Whatever default GPU we end up targeting is also 
irrelevant.

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

Reply via email to