We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22c22d6 commit 48570a6Copy full SHA for 48570a6
clang/test/Driver/unsupported-option-gpu.c
@@ -1,5 +1,5 @@
1
/// Some target-specific options are ignored for GPU, so %clang exits with code 0.
2
-// DEFINE: %{check} = %clang -### -c -mcmodel=medium
+// DEFINE: %{check} = %clang -### --target=x86_64-linux-gnu -c -mcmodel=medium
3
4
// RUN: %{check} -x cuda %s --cuda-path=%S/Inputs/CUDA/usr/local/cuda --offload-arch=sm_60 --no-cuda-version-check -fbasic-block-sections=all
5
// RUN: %{check} -x hip %s --rocm-path=%S/Inputs/rocm -nogpulib -nogpuinc
0 commit comments