Skip to content

Commit 452e746

Browse files
authored
[SYCL][E2E] Conditionally use -fsycl-embed-ir flags in KernelFusion e2e tests (#14249)
`-fsycl-embed-ir` flag is only used when building the `KernelFusion` tests if there is a cuda or hip device. This removes the "argument unused during compilation" warning when running this test on other platforms.
1 parent 02c6bba commit 452e746

File tree

59 files changed

+62
-58
lines changed

Some content is hidden

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

59 files changed

+62
-58
lines changed

sycl/test-e2e/KernelFusion/GroupAlgorithm/all_of.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -I . -o %t.out
1+
// RUN: %{build} %{embed-ir} -I . -o %t.out
22
// RUN: %{run} %t.out
33

44
#include "../helpers.hpp"

sycl/test-e2e/KernelFusion/GroupAlgorithm/exclusive_scan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -I . -o %t.out
1+
// RUN: %{build} %{embed-ir} -I . -o %t.out
22
// RUN: %{run} %t.out
33

44
#include "../../helpers.hpp"

sycl/test-e2e/KernelFusion/GroupAlgorithm/permute.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test fusion works with permute and remapping.

sycl/test-e2e/KernelFusion/GroupFunctions/group_barrier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete_fusion preserves barriers by launching a kernel that requires a

sycl/test-e2e/KernelFusion/GroupFunctions/group_broadcast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test fusion works with group_broadcast.

sycl/test-e2e/KernelFusion/GroupFunctions/group_broadcast_remapping.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test fusion works with group_broadcast and remapping.

sycl/test-e2e/KernelFusion/Reduction/group_reduce_and_atomic_cross_wg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
#include "./reduction.hpp"

sycl/test-e2e/KernelFusion/Reduction/group_reduce_and_last_wg_detection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
// COM: When ran on HIP and CUDA, this algorithm launches 'memcpy' commands

sycl/test-e2e/KernelFusion/Reduction/local_atomic_and_atomic_cross_wg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
#include "./reduction.hpp"

sycl/test-e2e/KernelFusion/Reduction/local_mem_tree_and_atomic_cross_wg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
#include "./reduction.hpp"

sycl/test-e2e/KernelFusion/Reduction/range_basic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
#include "./reduction.hpp"

sycl/test-e2e/KernelFusion/abort_fusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Test fusion being aborted: Different scenarios causing the JIT compiler

sycl/test-e2e/KernelFusion/abort_internalization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -O2 -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} -O2 %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 SYCL_ENABLE_FUSION_CACHING=0 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Test incomplete internalization: Different scenarios causing the JIT compiler

sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not "Computation error" --implicit-check-not "Internalized" --check-prefix=CHECK %if hip %{ --check-prefix=CHECK-HIP %} %else %{ --check-prefix=CHECK-NON-HIP %}
33

44
// Test pointers being stored are not internalized.

sycl/test-e2e/KernelFusion/barrier_local_internalization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with local internalization and a combination of kernels

sycl/test-e2e/KernelFusion/buffer_internalization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with private internalization specified on the

sycl/test-e2e/KernelFusion/cached_ndrange.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not "COMPUTATION ERROR"
33
// UNSUPPORTED: hip
44

sycl/test-e2e/KernelFusion/cancel_fusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test cancel fusion

sycl/test-e2e/KernelFusion/complete_fusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion without any internalization

sycl/test-e2e/KernelFusion/cooperative_kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=2 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Test cooperative kernels are not fused

sycl/test-e2e/KernelFusion/diamond_shape.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with private internalization specified on the

sycl/test-e2e/KernelFusion/diamond_shape_local.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with local internalization specified on the

sycl/test-e2e/KernelFusion/event_wait_cancel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aspect-usm_shared_allocations
2-
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{build} %{embed-ir} -o %t.out
33
// RUN: %{run} %t.out
44

55
// Test validity of events after cancel_fusion.

sycl/test-e2e/KernelFusion/event_wait_complete.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aspect-usm_shared_allocations
2-
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{build} %{embed-ir} -o %t.out
33
// RUN: %{run} %t.out
44

55
// Test validity of events after complete_fusion.

sycl/test-e2e/KernelFusion/existing_local_accessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with local internalization and an local accessor that

sycl/test-e2e/KernelFusion/internal_explicit_dependency.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aspect-usm_shared_allocations
2-
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{build} %{embed-ir} -o %t.out
33
// RUN: %{run} %t.out
44

55
// Test complete fusion where one kernel in the fusion list specifies an

sycl/test-e2e/KernelFusion/internalize_array_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test internalization of a nested array type.

sycl/test-e2e/KernelFusion/internalize_array_wrapper_local.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test local internalization of a nested array type.

sycl/test-e2e/KernelFusion/internalize_deep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with internalization of a deep struct type.

sycl/test-e2e/KernelFusion/internalize_multi_ptr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with private internalization specified on the

sycl/test-e2e/KernelFusion/internalize_non_unit_localsize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: fusion
2-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
2+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
33
// RUN: %{run} %t.out
44

55
// Test private internalization with "LocalSize" == 3 on buffers that trigger

sycl/test-e2e/KernelFusion/internalize_vec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with internalization of a struct type.

sycl/test-e2e/KernelFusion/internalize_vfunc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with private internalization specified on the

sycl/test-e2e/KernelFusion/jit_caching.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not "COMPUTATION ERROR" --implicit-check-not "WRONG INTERNALIZATION"
33

44
// Test caching for JIT fused kernels. Also test for debug messages being

sycl/test-e2e/KernelFusion/lit.local.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ config.unsupported_features += ['accelerator']
66
# TODO: enable on Windows once kernel fusion is supported on Windows.
77
if platform.system() != "Linux":
88
config.unsupported = True
9+
10+
config.substitutions.append(
11+
("%{embed-ir}", "%if any-device-is-hip || any-device-is-cuda %{ -fsycl-embed-ir %}")
12+
)

sycl/test-e2e/KernelFusion/local_internalization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with local internalization specified on the

sycl/test-e2e/KernelFusion/math_function.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test fusion of a kernel using a math function.

sycl/test-e2e/KernelFusion/non-kernel-cg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=2 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Test non-kernel device command groups are not fused

sycl/test-e2e/KernelFusion/non_unit_local_size.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with local internalization specified on the

sycl/test-e2e/KernelFusion/pointer_arg_function.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33
// This test currently fails because InferAddressSpace is not able to remove all
44
// address-space casts, causing internalization to fail.

sycl/test-e2e/KernelFusion/private_internalization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_PARAMS=16:32:512 %{run} %t.out
33

44
// Test complete fusion with private internalization specified on the

sycl/test-e2e/KernelFusion/queue-shortcut-functions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 \
33
// RUN: | FileCheck %s --implicit-check-not=ERROR
44

sycl/test-e2e/KernelFusion/ranged_offset_accessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with private internalization on accessors with different

sycl/test-e2e/KernelFusion/struct_with_array.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with private internalization on a kernel functor with an

sycl/test-e2e/KernelFusion/sync_acc_mem_op.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Windows doesn't yet have full shutdown().

sycl/test-e2e/KernelFusion/sync_buffer_destruction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Windows doesn't yet have full shutdown().

sycl/test-e2e/KernelFusion/sync_event_wait.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
33

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

sycl/test-e2e/KernelFusion/sync_host_accessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Windows doesn't yet have full shutdown().

sycl/test-e2e/KernelFusion/sync_host_task.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Windows doesn't yet have full shutdown().

sycl/test-e2e/KernelFusion/sync_queue_destruction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Windows doesn't yet have full shutdown().

sycl/test-e2e/KernelFusion/sync_queue_wait.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Windows doesn't yet have full shutdown().

sycl/test-e2e/KernelFusion/sync_second_queue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
33

44
// Windows doesn't yet have full shutdown().

sycl/test-e2e/KernelFusion/sync_two_queues_requirement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// For this test, complete_fusion must be supported.
2-
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{build} %{embed-ir} -o %t.out
33
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
44

55
// Test fusion cancellation for requirement between two active fusions.

sycl/test-e2e/KernelFusion/sync_usm_mem_op.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s
33
// Windows doesn't yet have full shutdown().
44
// UNSUPPORTED: ze_debug && windows

sycl/test-e2e/KernelFusion/three_dimensional.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with private internalization specified on the

sycl/test-e2e/KernelFusion/two_dimensional.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out
1+
// RUN: %{build} %{embed-ir} -O2 -o %t.out
22
// RUN: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_PARAMS=16:32:64 %{run} %t.out
33

44
// Test complete fusion with private internalization specified on the

sycl/test-e2e/KernelFusion/usm_no_dependencies.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aspect-usm_shared_allocations
2-
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{build} %{embed-ir} -o %t.out
33
// RUN: %{run} %t.out
44

55
// Test complete fusion using USM pointers.

sycl/test-e2e/KernelFusion/work_group_barrier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{build} -fsycl-embed-ir -o %t.out
1+
// RUN: %{build} %{embed-ir} -o %t.out
22
// RUN: %{run} %t.out
33

44
// Test complete fusion with a combination of kernels that require a work-group

sycl/test-e2e/KernelFusion/wrapped_usm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aspect-usm_shared_allocations
2-
// RUN: %{build} -fsycl-embed-ir -o %t.out
2+
// RUN: %{build} %{embed-ir} -o %t.out
33
// RUN: %{run} %t.out
44

55
// Test complete fusion using an wrapped USM pointer as kernel functor argument.

0 commit comments

Comments
 (0)