Skip to content

Commit f5ea811

Browse files
[SYCL][Test E2E] Use %{build}/%{run} in Basic tests (#9332)
Co-authored-by: Sergey Semenov <[email protected]>
1 parent eac774b commit f5ea811

File tree

160 files changed

+362
-516
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+362
-516
lines changed

sycl/test-e2e/Basic/access_to_subset.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53

64
//==---------- access_to_subset.cpp --- access to subset of buffer test ----==//
75
//

sycl/test-e2e/Basic/accessor/accessor.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53

64
//==----------------accessor.cpp - SYCL accessor basic test ----------------==//
75
//
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -Daccessor_new_api_test %S/Inputs/device_accessor.cpp -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
2+
// RUN: %{run} %t.out
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -Dbuffer_new_api_test %S/Inputs/device_accessor.cpp -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
2+
// RUN: %{run} %t.out
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -Dbuffer_new_api_test %S/Inputs/host_accessor.cpp -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
2+
// RUN: %{run} %t.out
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -Dbuffer_new_api_test %S/Inputs/host_task_accessor.cpp -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
2+
// RUN: %{run} %t.out
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -Daccessor_new_api_test %S/Inputs/host_accessor.cpp -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
2+
// RUN: %{run} %t.out
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -Daccessor_new_api_test %S/Inputs/host_task_accessor.cpp -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
2+
// RUN: %{run} %t.out

sycl/test-e2e/Basic/alloc_pinned_host_memory.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// REQUIRES: level_zero || cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t2.out
3+
// RUN: %{build} -o %t2.out
44
// RUN: env SYCL_PI_TRACE=2 ZE_DEBUG=1 %GPU_RUN_PLACEHOLDER %t2.out 2>&1 %GPU_L0_CHECK_PLACEHOLDER
5-
// RUN: %CPU_RUN_PLACEHOLDER %t2.out
6-
// RUN: %GPU_RUN_PLACEHOLDER %t2.out
7-
// RUN: %ACC_RUN_PLACEHOLDER %t2.out
5+
// RUN: %{run} %t2.out
86

97
#include <sycl/sycl.hpp>
108

sycl/test-e2e/Basic/aspects.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -fsycl %s -o %t.out
1+
// RUN: %{build} -o %t.out
22
// RUN: %BE_RUN_PLACEHOLDER %t.out
33
//
44
// Hip is missing some of the parameters tested here so it fails with NVIDIA

sycl/test-e2e/Basic/barrier_order.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
43

54
// Temporarily disabled on HIP, CUDA and L0 due to sporadic failures.
65
// UNSUPPORTED: hip, level_zero, cuda
6+
// UNSUPPORTED: accelerator
77

88
#include <iostream>
99
#include <stdlib.h>

sycl/test-e2e/Basic/bit_cast/bit_cast.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl-device-code-split=per_kernel -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
2+
// RUN: %{run} %t.out
53

64
#include <sycl/sycl.hpp>
75

sycl/test-e2e/Basic/boolean.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53
#include <cassert>
64
#include <iostream>
75
#include <sycl/sycl.hpp>

sycl/test-e2e/Basic/buffer/buffer.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t2.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t2.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t2.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t2.out
1+
// RUN: %{build} -o %t2.out
2+
// RUN: %{run} %t2.out
53

64
//==------------------- buffer.cpp - SYCL buffer basic test ----------------==//
75
//

sycl/test-e2e/Basic/buffer/buffer_allocator.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: env ONEAPI_DEVICE_SELECTOR='opencl:*' %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: env ONEAPI_DEVICE_SELECTOR='opencl:*' %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: env ONEAPI_DEVICE_SELECTOR='opencl:*' %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53

64
//==---------- buffer_allocator.cpp - SYCL buffer allocator tests ----------==//
75
//

sycl/test-e2e/Basic/buffer/buffer_container.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx %cxx_std_optionc++17 -fsycl -fsycl-targets=%sycl_triple %s -o %t2.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t2.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t2.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t2.out
1+
// RUN: %{build} %cxx_std_optionc++17 -o %t2.out
2+
// RUN: %{run} %t2.out
53

64
#include <sycl/sycl.hpp>
75

sycl/test-e2e/Basic/buffer/buffer_create.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: gpu,level_zero
2-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
3-
// RUN: env ZE_DEBUG=1 %GPU_RUN_PLACEHOLDER %t.out 2> %t1.out; cat %t1.out %GPU_CHECK_PLACEHOLDER
2+
// RUN: %{build} -o %t.out
3+
// RUN: env ZE_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s
44
// UNSUPPORTED: ze_debug-1,ze_debug4
55

66
#include <iostream>

sycl/test-e2e/Basic/buffer/buffer_dev_to_dev.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// FIXME flaky fail on HIP
22
// UNSUPPORTED: hip
3-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
4-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
6-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
3+
// RUN: %{build} -o %t.out
4+
// RUN: %{run} %t.out
75

86
//==---------- buffer_dev_to_dev.cpp - SYCL buffer basic test --------------==//
97
//

sycl/test-e2e/Basic/buffer/buffer_full_copy.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t2.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t2.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t2.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t2.out
1+
// RUN: %{build} -o %t2.out
2+
// RUN: %{run} %t2.out
53

64
//==------------- buffer_full_copy.cpp - SYCL buffer basic test ------------==//
75
//

sycl/test-e2e/Basic/buffer/buffer_migrate.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: gpu
2-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
2+
// RUN: %{build} -o %t.out
3+
// RUN: %{run} %t.out
44
//
55
// Test for buffer use in a context with multiple devices (all found
66
// root-devices)

sycl/test-e2e/Basic/buffer/buffer_release.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
// REQUIRES: cpu
12
// UNSUPPORTED: windows
23
// DeferredMemory Destruction not presently supported on Windows.
34

4-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
5-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5+
// RUN: %{build} -o %t.out
6+
// RUN: %{run} %t.out
67

78
#include <sycl/sycl.hpp>
89

sycl/test-e2e/Basic/buffer/native_buffer_creation_flags.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: env SYCL_PI_TRACE=-1 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
1+
// REQUIRES: cpu
2+
// RUN: %{build} -o %t.out
3+
// RUN: env SYCL_PI_TRACE=-1 %{run} %t.out 2>&1 | FileCheck %s
34

45
#include <sycl/sycl.hpp>
56

sycl/test-e2e/Basic/buffer/reinterpret.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53
//
64
// XFAIL: level_zero&&gpu
75

sycl/test-e2e/Basic/buffer/subbuffer.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53

64
// UNSUPPORTED: (opencl && gpu)
75

sycl/test-e2e/Basic/build_log.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// UNSUPPORTED: gpu-intel-dg1 || windows
33
//
44
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device dg1" %s -o %t.out
5-
// RUN: env SYCL_RT_WARNING_LEVEL=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
5+
// RUN: env SYCL_RT_WARNING_LEVEL=2 %{run} %t.out 2>&1 | FileCheck %s
66

77
#include <sycl/sycl.hpp>
88

sycl/test-e2e/Basic/built-ins.cpp

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out | FileCheck %s
53

6-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -D__SYCL_USE_NON_VARIADIC_SPIRV_OCL_PRINTF__ %s -o %t_nonvar.out
7-
// RUN: %CPU_RUN_PLACEHOLDER %t_nonvar.out %CPU_CHECK_PLACEHOLDER
8-
// RUN: %GPU_RUN_PLACEHOLDER %t_nonvar.out %GPU_CHECK_PLACEHOLDER
9-
// RUN: %ACC_RUN_PLACEHOLDER %t_nonvar.out %ACC_CHECK_PLACEHOLDER
4+
// RUN: %{build} -D__SYCL_USE_NON_VARIADIC_SPIRV_OCL_PRINTF__ -o %t_nonvar.out
5+
// RUN: %{run} %t_nonvar.out | FileCheck %s
106

117
// Hits an assertion with AMD:
128
// XFAIL: hip_amd

sycl/test-e2e/Basic/built-ins/marray_common.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53

64
#ifdef _WIN32
75
#define _USE_MATH_DEFINES // To use math constants

sycl/test-e2e/Basic/built-ins/marray_geometric.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53

64
#include <CL/sycl.hpp>
75

sycl/test-e2e/Basic/built-ins/marray_math.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %{mathflags} %s -o %t.out
4-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
6-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
3+
// RUN: %{build} %{mathflags} -o %t.out
4+
// RUN: %{run} %t.out
75

86
#include <sycl/sycl.hpp>
97

sycl/test-e2e/Basic/built-ins/marray_relational.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53

64
#include <CL/sycl.hpp>
75

sycl/test-e2e/Basic/code_location_e2e.cpp

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
// UNSUPPORTED: hip || cuda
22

3-
// RUN: %clangxx -fsycl -DNDEBUG %s -o %t.out
4-
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
5-
// RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
6-
// RUN: %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER
7-
8-
// RUN: %clangxx -fsycl %s -o %t.out
9-
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
10-
// RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
11-
// RUN: %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER
3+
// RUN: %{build} -DNDEBUG -o %t.out
4+
// RUN: %{run} %t.out | FileCheck %s
5+
6+
// RUN: %{build} -o %t.out
7+
// RUN: %{run} %t.out | FileCheck %s
128

139
/*
1410
clang++ -fsycl -DNDEBUG -o smyl.bin code_location_e2e.cpp // <<--- NDEBUG

sycl/test-e2e/Basic/compare_exchange_strong.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53

64
#include <sycl/sycl.hpp>
75
using namespace sycl;

sycl/test-e2e/Basic/context-with-multiple-devices.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: accelerator, opencl-aot
22

3-
// RUN: %clangxx -fsycl -fintelfpga %s -o %t2.out
3+
// RUN: %{build} -fintelfpga -o %t2.out
44
// RUN: env CL_CONFIG_CPU_EMULATE_DEVICES=2 %t2.out
55

66
#include <sycl/sycl.hpp>

sycl/test-e2e/Basic/context.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53

64
// This test performs basic check of the SYCL context class.
75

sycl/test-e2e/Basic/context_platforms.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// RUN: %clangxx -fsycl %s -o %t.out
1+
// RUN: %{build} -o %t.out
22
// RUN: %BE_RUN_PLACEHOLDER %t.out
3+
34
#include <iostream>
45
#include <sycl/sycl.hpp>
56

sycl/test-e2e/Basic/cuda_max_wgs_error.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out -fno-sycl-id-queries-fit-in-int
2-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out -fno-sycl-id-queries-fit-in-int
2+
// RUN: %{run} %t.out
33
//
44
// REQUIRES: cuda
55

sycl/test-e2e/Basic/default_device.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
10-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
11-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
12-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
9+
// RUN: %{build} -o %t.out
10+
// RUN: %{run} %t.out
1311

1412
#include <sycl/sycl.hpp>
1513

sycl/test-e2e/Basic/default_platform.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
10-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
11-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
12-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
9+
// RUN: %{build} -o %t.out
10+
// RUN: %{run} %t.out
1311

1412
#include <sycl/sycl.hpp>
1513

sycl/test-e2e/Basic/device-selectors.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
1+
// RUN: %{build} -o %t.out
22
// RUN: %t.out
33

44
#include <sycl/sycl.hpp>

sycl/test-e2e/Basic/device.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4-
// RUN: %ACC_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
53

64
// This test performs basic check of the SYCL device class.
75

0 commit comments

Comments
 (0)