We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01263c6 commit fdfe0b0Copy full SHA for fdfe0b0
clang/test/Driver/cl-offload.cu
@@ -1,9 +1,9 @@
1
-// RUN: %clang_cl -### --offload-arch=sm_35 -fgpu-rdc \
+// RUN: %clang_cl -### -target x86_64-pc-windows-msvc --offload-arch=sm_35 -fgpu-rdc \
2
// RUN: --cuda-path=%S/Inputs/CUDA/usr/local/cuda \
3
// RUN: /Wall -x cuda %s 2>&1 \
4
// RUN: | FileCheck %s -check-prefix=CUDA
5
6
-// RUN: %clang_cl -### --offload-arch=gfx1010 -fgpu-rdc --hip-link \
+// RUN: %clang_cl -### -target x86_64-pc-windows-msvc --offload-arch=gfx1010 -fgpu-rdc --hip-link \
7
// RUN: --rocm-path=%S/Inputs/rocm /Wall -x hip %s 2>&1 \
8
// RUN: | FileCheck %s -check-prefix=HIP
9
0 commit comments