Skip to content

Commit 16f8a97

Browse files
[SYCL][Test E2E] Use %{build}/%{run} in KernelFusion tests
1 parent aeff1d0 commit 16f8a97

Some content is hidden

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

44 files changed

+89
-166
lines changed

sycl/test-e2e/KernelFusion/abort_fusion.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74
// REQUIRES: fusion
85

sycl/test-e2e/KernelFusion/abort_internalization.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -O2 -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 SYCL_ENABLE_FUSION_CACHING=0\
3-
// RUN: %CPU_RUN_PLACEHOLDER %t.out 2>&1\
4-
// RUN: %CPU_CHECK_PLACEHOLDER
5-
// RUN: env SYCL_RT_WARNING_LEVEL=1 SYCL_ENABLE_FUSION_CACHING=0\
6-
// RUN: %GPU_RUN_PLACEHOLDER %t.out 2>&1\
7-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -O2 -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 SYCL_ENABLE_FUSION_CACHING=0 %{run} %t.out 2>&1 | FileCheck %s
83
// UNSUPPORTED: hip
94
// REQUIRES: fusion
105

sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER --implicit-check-not "Computation error" --implicit-check-not "Internalized"
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER --implicit-check-not "Computation error" --implicit-check-not "Internalized"
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not "Computation error" --implicit-check-not "Internalized"
63
// UNSUPPORTED: hip
74
// REQUIRES: fusion
85

sycl/test-e2e/KernelFusion/barrier_local_internalization.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/buffer_internalization.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/cancel_fusion.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/complete_fusion.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/device_info_descriptor.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +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
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run} %t.out
43
// XFAIL: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/diamond_shape.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/diamond_shape_local.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/different_nd_ranges.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1\
3+
// RUN: | FileCheck %s
64
// UNSUPPORTED: cuda || hip
75
// REQUIRES: fusion
86

sycl/test-e2e/KernelFusion/event_wait_cancel.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion, aspect-usm_shared_allocations
65

sycl/test-e2e/KernelFusion/event_wait_complete.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion, aspect-usm_shared_allocations
65

sycl/test-e2e/KernelFusion/existing_local_accessor.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/internal_explicit_dependency.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion, aspect-usm_shared_allocations
65

sycl/test-e2e/KernelFusion/internalize_array_wrapper.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/internalize_deep.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/internalize_multi_ptr.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/internalize_vec.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/internalize_vfunc.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/jit_caching.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER --implicit-check-not "COMPUTATION ERROR" --implicit-check-not "WRONG INTERNALIZATION"
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER --implicit-check-not "COMPUTATION ERROR" --implicit-check-not "WRONG INTERNALIZATION"
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not "COMPUTATION ERROR" --implicit-check-not "WRONG INTERNALIZATION"
63
// UNSUPPORTED: hip
74
// REQUIRES: fusion
85

sycl/test-e2e/KernelFusion/local_internalization.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/math_function.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/non_unit_local_size.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/pointer_arg_function.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65
// This test currently fails because InferAddressSpace is not able to remove all

sycl/test-e2e/KernelFusion/private_internalization.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/ranged_offset_accessor.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/struct_with_array.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

sycl/test-e2e/KernelFusion/sync_acc_mem_op.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74

85
// Test fusion cancellation on an explicit memory operation on an accessor

sycl/test-e2e/KernelFusion/sync_buffer_destruction.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74

85
// Test fusion cancellation on buffer destruction happening before

sycl/test-e2e/KernelFusion/sync_event_wait.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74

85
// Test fusion cancellation on event::wait() happening before

sycl/test-e2e/KernelFusion/sync_host_accessor.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74

85
// Test fusion cancellation on host accessor creation happening before

sycl/test-e2e/KernelFusion/sync_host_task.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74

85
// Test fusion cancellation on host task submission happening before

sycl/test-e2e/KernelFusion/sync_queue_destruction.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74

85
// Test fusion cancellation on queue destruction happening before

sycl/test-e2e/KernelFusion/sync_queue_wait.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74

85
// Test fusion cancellation on queue::wait() happening before

sycl/test-e2e/KernelFusion/sync_second_queue.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74

85
// Test fusion cancellation on submission of kernel with requirements to a

sycl/test-e2e/KernelFusion/sync_two_queues_event_dep.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74
// For this test, complete_fusion must be supported.
85
// REQUIRES: fusion

sycl/test-e2e/KernelFusion/sync_two_queues_requirement.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74
// For this test, complete_fusion must be supported.
85
// REQUIRES: fusion

sycl/test-e2e/KernelFusion/sync_usm_mem_op.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir %s -o %t.out
2-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %CPU_RUN_PLACEHOLDER %t.out 2>&1\
3-
// RUN: %CPU_CHECK_PLACEHOLDER
4-
// RUN: env SYCL_RT_WARNING_LEVEL=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1\
5-
// RUN: %GPU_CHECK_PLACEHOLDER
1+
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
63
// UNSUPPORTED: hip
74

85
// Test fusion cancellation on an explicit memory operation on an USM pointer

sycl/test-e2e/KernelFusion/three_dimensional.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-embed-ir -O2 %s -o %t.out
2-
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3-
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1+
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{run} %t.out
43
// UNSUPPORTED: hip
54
// REQUIRES: fusion
65

0 commit comments

Comments
 (0)