Skip to content

Commit fdfe0b0

Browse files
committed
Fix test clang/test/Driver/cl-offload.cu
Regression caused by e880e8a Due to aux-target mismatch. Add -target option to fix aux-target. https://lab.llvm.org/buildbot/#/builders/230/builds/20138
1 parent 01263c6 commit fdfe0b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Driver/cl-offload.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// RUN: %clang_cl -### --offload-arch=sm_35 -fgpu-rdc \
1+
// RUN: %clang_cl -### -target x86_64-pc-windows-msvc --offload-arch=sm_35 -fgpu-rdc \
22
// RUN: --cuda-path=%S/Inputs/CUDA/usr/local/cuda \
33
// RUN: /Wall -x cuda %s 2>&1 \
44
// RUN: | FileCheck %s -check-prefix=CUDA
55

6-
// RUN: %clang_cl -### --offload-arch=gfx1010 -fgpu-rdc --hip-link \
6+
// RUN: %clang_cl -### -target x86_64-pc-windows-msvc --offload-arch=gfx1010 -fgpu-rdc --hip-link \
77
// RUN: --rocm-path=%S/Inputs/rocm /Wall -x hip %s 2>&1 \
88
// RUN: | FileCheck %s -check-prefix=HIP
99

0 commit comments

Comments
 (0)