[clang] [Driver] Test ignored target-specific options for AMDGPU/NVPTX (PR #79222)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 23 16:31:48 PST 2024
================
@@ -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:
+1 for merging them. I'd also rename 'check' into `offload options`
https://github.com/llvm/llvm-project/pull/79222
More information about the cfe-commits
mailing list