Skip to content

Commit 4c22e7b

Browse files
authored
[SYCL][CUDA] Fix a test which assumed build on Linux machines. (#7734)
Fix a test which assumed build on Linux machines.
1 parent f884993 commit 4c22e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/sycl-oneapi-gpu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
// RUN: FileCheck %s --check-prefixes=DEVICE_NVIDIA,MACRO_NVIDIA -DDEV_STR=sm_90 -DMAC_STR=SM_90
120120
// MACRO_NVIDIA: clang{{.*}} "-triple" "nvptx64-nvidia-cuda"
121121
// DEVICE_NVIDIA: llvm-foreach{{.*}} "--gpu-name" "[[DEV_STR]]"
122-
// MACRO_NVIDIA: clang{{.*}} "-triple" "x86_64-unknown-linux-gnu"
122+
// MACRO_NVIDIA: clang{{.*}} "-fsycl-is-host"
123123
// MACRO_NVIDIA: "-D__SYCL_TARGET_NVIDIA_GPU_[[MAC_STR]]__"
124124

125125
/// Tests the behaviors of using -fsycl-targets=amd_gpu*

0 commit comments

Comments
 (0)