Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sycl/test-e2e/Regression/2020-spec-constants-debug-info.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %clangxx -fsycl -g %s -o %t.out
// RUN: %clangxx -fsycl -g -O0 %s -o %t.out
// RUN: %clangxx -fsycl -g -O2 %s -o %t.out
// RUN: %{build} -g -o %t.out
// RUN: %{build} -g -O0 -o %t.out
// RUN: %{build} -g -O2 -o %t.out
//
// The idea of this test is to make sure that we can compile the following
// simple example without crashes/assertions firing at llvm-spirv step due to
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/DAE-separate-compile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
//
// The test checks that the scenario works correctly.
//
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -O2 -c -o %t.o
// RUN: %{build} -O2 -c -o %t.o
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %t.o -O0 -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{run} %t.out

#include <iostream>
#include <sycl/sycl.hpp>
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/atomic_load.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
#include <sycl/sycl.hpp>
using namespace sycl;

Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/Regression/barrier_with_work.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.event_list.out
// RUN: %{build} -o %t.event_list.out
// RUN: %CPU_RUN_PLACEHOLDER %t.event_list.out
// RUN: env SYCL_PI_LEVEL_ZERO_USE_MULTIPLE_COMMANDLIST_BARRIERS=1 %GPU_RUN_PLACEHOLDER %t.event_list.out
// RUN: %ACC_RUN_PLACEHOLDER %t.event_list.out
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -DUSE_QUEUE_WIDE_BARRIER %s -o %t.queue_wide.out
// RUN: %{build} -DUSE_QUEUE_WIDE_BARRIER -o %t.queue_wide.out
// RUN: %CPU_RUN_PLACEHOLDER %t.queue_wide.out
// RUN: env SYCL_PI_LEVEL_ZERO_USE_MULTIPLE_COMMANDLIST_BARRIERS=1 %GPU_RUN_PLACEHOLDER %t.queue_wide.out
// RUN: %ACC_RUN_PLACEHOLDER %t.queue_wide.out
Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/Regression/build_log.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// REQUIRES: gpu
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.exe
// RUN: %GPU_RUN_PLACEHOLDER %t.exe 2> %t.out || true
// RUN: %{build} -o %t.exe
// RUN: %{run} %t.exe 2> %t.out || true

// RUN: FileCheck %s --check-prefix=CHECK-EXPECTED-ERROR --input-file %t.out
// CHECK-EXPECTED-ERROR: error: backend compiler failed build
Expand Down
5 changes: 2 additions & 3 deletions sycl/test-e2e/Regression/cache_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %level_zero_options %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

// REQUIRES: level_zero, level_zero_dev_kit
// RUN: %{build} %level_zero_options -o %t.out
// RUN: %{run} %t.out

#include <algorithm>
#include <iostream>
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/check_vector_of_opencl_event.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// REQUIRES: opencl
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
//
//===----------------------------------------------------------------------===//
// This test verifies that sycl::get_native<backend::opencl> and
Expand Down
2 changes: 1 addition & 1 deletion sycl/test-e2e/Regression/commandlist/gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// UNSUPPORTED: ze_debug-1,ze_debug4
//
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %S/Inputs/FindPrimesSYCL.cpp %S/Inputs/main.cpp -o %t.out -lpthread
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %{run} %t.out
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/complex_global_object.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
// XFAIL: gpu && linux

// SYCL runtime may construct global objects at function scope. The test ensures
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// REQUIRES: gpu

// RUN: %clangxx -fsycl %s -o %t.out
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
// RUN: %{build} -o %t.out
// RUN: env SYCL_PI_TRACE=2 %{run} %t.out 2>&1 | FileCheck %s
//
// XFAIL: hip_nvidia

Expand Down
2 changes: 1 addition & 1 deletion sycl/test-e2e/Regression/device_num.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %{build} -o %t.out
// RUN: env PRINT_FULL_DEVICE_INFO=1 %t.out > %t1.conf
// RUN: env ONEAPI_DEVICE_SELECTOR="*:0" env TEST_DEV_CONFIG_FILE_NAME=%t1.conf %t.out
// RUN: env ONEAPI_DEVICE_SELECTOR="*:1" env TEST_DEV_CONFIG_FILE_NAME=%t1.conf %t.out
Expand Down
5 changes: 3 additions & 2 deletions sycl/test-e2e/Regression/device_pci_address_bdf_format.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// REQUIRES: gpu
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

//==- device_pci_address_bdf_format.cpp - SYCL PCI address BDF format test -==//
//
Expand Down
5 changes: 3 additions & 2 deletions sycl/test-e2e/Regression/dummy_event_info.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// REQUIRES: cpu
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

#include <sycl/sycl.hpp>

Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/event_destruction.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// REQUIRES: TEMPORARY_DISABLED
// Temporarily disabled because the test is out of time
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

//==--------------- event_destruction.cpp - SYCL event test ----------------==//
//
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/fp16-with-unnamed-lambda.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// REQUIRES: aspect-fp16
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
#include <sycl/sycl.hpp>

#include <iostream>
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/fsycl-host-compiler-win.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-host-compiler=cl -DDEFINE_CHECK -fsycl-host-compiler-options="-DDEFINE_CHECK /std:c++17 /Zc:__cplusplus" -o %t.exe %s
// RUN: %CPU_RUN_PLACEHOLDER %t.exe
// RUN: %GPU_RUN_PLACEHOLDER %t.exe
// RUN: %ACC_RUN_PLACEHOLDER %t.exe
// RUN: %{build} -fsycl-host-compiler=cl -DDEFINE_CHECK -fsycl-host-compiler-options="-DDEFINE_CHECK /std:c++17 /Zc:__cplusplus" -o %t.exe
// RUN: %{run} %t.exe
// REQUIRES: windows
//
//==------- fsycl-host-compiler-win.cpp - external host compiler test ------==//
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/fsycl-host-compiler.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-host-compiler=g++ -DDEFINE_CHECK -fsycl-host-compiler-options="-DDEFINE_CHECK -std=c++17" -o %t.out %s
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -fsycl-host-compiler=g++ -DDEFINE_CHECK -fsycl-host-compiler-options="-DDEFINE_CHECK -std=c++17" -o %t.out
// RUN: %{run} %t.out
// REQUIRES: linux
//==------- fsycl-host-compiler.cpp - external host compiler test ----------==//
//
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/get_spec_const_vec16.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -o %t.out %s
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
//
// Tests that the right value returned after setting a specialization constant
// of sycl::vec<char, 16> type is correct.
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/get_subgroup_sizes.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

//==-- get_subgroup_sizes.cpp - Test for bug fix in subgroup sizes query --==//
//
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/global_queue.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

// SYCL dependencies (i.e. low level runtimes) may have global objects of their
// own. The test ensures, that those objects do not cause problems. When host
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/group.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

//==-- group.cpp - Regression tests for sycl::group API bug fixes. -----==//
//
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/group_local_linear_id.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

// Checks that get_local_linear_id is the same on the nd_item as on the
// corresponding group.
Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/Regression/half_operators.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-device-code-split=per_kernel %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// REQUIRES: gpu
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %{run} %t.out
#include <iostream>
#include <sycl.hpp>
#include <vector>
Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/Regression/host_unified_memory.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// REQUIRES: gpu && linux
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: env SYCL_HOST_UNIFIED_MEMORY=1 %GPU_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: env SYCL_HOST_UNIFIED_MEMORY=1 %{run} %t.out

#include <stdio.h>
#include <stdlib.h>
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/image_access.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// REQUIRES: aspect-ext_intel_legacy_image
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
// No execution of FPGA because it does not support images
// RUN: %{build} -o %t.out
// RUN: env SYCL_PI_TRACE=2 %{run} %t.out 2>&1 | FileCheck %s
//
// UNSUPPORTED: hip
// CUDA doesn't fully support OpenCL spec conform images.
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/implicit_atomic_conversion.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

#include <sycl/sycl.hpp>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-device-code-split=per_kernel %s -o %t.out
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %ACC_CHECK_PLACEHOLDER
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: env SYCL_PI_TRACE=2 %{run} %t.out 2>&1 | FileCheck %s

// JIT compilation path is not taken on HIP backend.
// UNSUPPORTED: hip
Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/Regression/implicit_offset_debug_info.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %clangxx %debug_option -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// REQUIRES: cuda
// RUN: %{build} %debug_option -o %t.out
// RUN: %{run} %t.out

// NOTE: Tests that the implicit global offset pass copies debug information

Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/isordered.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUNx: %CPU_RUN_PLACEHOLDER %t.out
// RUNx: %GPU_RUN_PLACEHOLDER %t.out
// RUNx: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUNx: %{run} %t.out

#include <sycl/sycl.hpp>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
//
// XFAIL: cuda
// UNSUPPORTED: hip
Expand Down
12 changes: 4 additions & 8 deletions sycl/test-e2e/Regression/kernel_name_class.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.ext.out
// RUN: %CPU_RUN_PLACEHOLDER %t.ext.out
// RUN: %GPU_RUN_PLACEHOLDER %t.ext.out
// RUN: %ACC_RUN_PLACEHOLDER %t.ext.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
// RUN: %{build} -o %t.ext.out
// RUN: %{run} %t.ext.out

//==-- kernel_name_class.cpp - SYCL kernel naming variants test ------------==//
//
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/kernel_unnamed.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

//==-- kernel_unnamed.cpp - SYCL kernel naming variants test ------------==//
//
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/local-arg-align.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %{build} -o %t.out
//
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{run} %t.out

//==-- local-arg-align.cpp - Test for local argument alignmnent ------------==//
//
Expand Down
7 changes: 4 additions & 3 deletions sycl/test-e2e/Regression/local_accessor_3d_subscript.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out

// UNSUPPORTED: accelerator

//==------------------ local_accessor_3d_subscript.cpp ---------------------==//
//
Expand Down
6 changes: 2 additions & 4 deletions sycl/test-e2e/Regression/mad_sat.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUNx: %CPU_RUN_PLACEHOLDER %t.out
// RUNx: %GPU_RUN_PLACEHOLDER %t.out
// RUNx: %ACC_RUN_PLACEHOLDER %t.out
// RUN: %{build} -o %t.out
// RUNx: %{run} %t.out

#include <sycl/sycl.hpp>

Expand Down
12 changes: 4 additions & 8 deletions sycl/test-e2e/Regression/msvc_crt.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple /MD -o %t1.exe %s
// RUN: %CPU_RUN_PLACEHOLDER %t1.exe
// RUN: %GPU_RUN_PLACEHOLDER %t1.exe
// RUN: %ACC_RUN_PLACEHOLDER %t1.exe
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple /MDd -o %t2.exe %s
// RUN: %CPU_RUN_PLACEHOLDER %t2.exe
// RUN: %GPU_RUN_PLACEHOLDER %t2.exe
// RUN: %ACC_RUN_PLACEHOLDER %t2.exe
// RUN: %{build} /MD -o %t1.exe
// RUN: %{run} %t1.exe
// RUN: %{build} /MDd -o %t2.exe
// RUN: %{run} %t2.exe
// REQUIRES: system-windows, cl_options
//==-------------- msvc_crt.cpp - SYCL MSVC CRT test -----------------------==//
//
Expand Down
16 changes: 8 additions & 8 deletions sycl/test-e2e/Regression/multiple-targets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
// The test is repeated for per_kernel device code splitting.
//
// REQUIRES: CUDA || HIP
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple,spirv64 -o %t.out %s \
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple,spirv64 -o %t.out %s
// RUN: %{run} %t.out
//
// RUN: %clangxx -fsycl -fsycl-targets=spirv64,%sycl_triple -o %t.out %s \
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %clangxx -fsycl -fsycl-targets=spirv64,%sycl_triple -o %t.out %s
// RUN: %{run} %t.out
//
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple,spirv64 -fsycl-device-code-split=per_kernel -o %t.out %s \
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple,spirv64 -fsycl-device-code-split=per_kernel -o %t.out %s
// RUN: %{run} %t.out
//
// RUN: %clangxx -fsycl -fsycl-targets=spirv64,%sycl_triple -fsycl-device-code-split=per_kernel -o %t.out %s \
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %clangxx -fsycl -fsycl-targets=spirv64,%sycl_triple -fsycl-device-code-split=per_kernel -o %t.out %s
// RUN: %{run} %t.out
//
// XFAIL: hip_nvidia
//
Expand Down
Loading