Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 502ce9b

Browse files
[SYCL] Add triple to compilation line in fsycl-host-compiler-win.cpp (#1282)
Similar to the changes in #1252, the windows version of the host compiler test needs the triple specified to work on certain backends. This commit adds the triple flag to the compilation line of the test. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent d799d0f commit 502ce9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/Regression/fsycl-host-compiler-win.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -fsycl -fsycl-host-compiler=cl -DDEFINE_CHECK -fsycl-host-compiler-options="-DDEFINE_CHECK /std:c++17 /Zc:__cplusplus" /Fe%t.exe %s
1+
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-host-compiler=cl -DDEFINE_CHECK -fsycl-host-compiler-options="-DDEFINE_CHECK /std:c++17 /Zc:__cplusplus" /Fe%t.exe %s
22
// RUN: %CPU_RUN_PLACEHOLDER %t.exe
33
// RUN: %GPU_RUN_PLACEHOLDER %t.exe
44
// RUN: %ACC_RUN_PLACEHOLDER %t.exe

0 commit comments

Comments
 (0)