Commit fdfe0b09 authored by Yaxun (Sam) Liu's avatar Yaxun (Sam) Liu
Browse files

Fix test clang/test/Driver/cl-offload.cu

Regression caused by e880e8ae

Due to aux-target mismatch. Add -target option to fix aux-target.

https://lab.llvm.org/buildbot/#/builders/230/builds/20138
parent 01263c6c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// RUN: %clang_cl -### --offload-arch=sm_35 -fgpu-rdc \
// RUN: %clang_cl -### -target x86_64-pc-windows-msvc --offload-arch=sm_35 -fgpu-rdc \
// RUN:   --cuda-path=%S/Inputs/CUDA/usr/local/cuda \
// RUN:   /Wall -x cuda %s 2>&1 \
// RUN:   | FileCheck %s -check-prefix=CUDA

// 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 \
// RUN:   --rocm-path=%S/Inputs/rocm /Wall -x hip %s 2>&1 \
// RUN:   | FileCheck %s -check-prefix=HIP