diff --git a/sycl/test-e2e/KernelFusion/GroupAlgorithm/all_of.cpp b/sycl/test-e2e/KernelFusion/GroupAlgorithm/all_of.cpp index 43cd14a01db2c..479e25724234d 100644 --- a/sycl/test-e2e/KernelFusion/GroupAlgorithm/all_of.cpp +++ b/sycl/test-e2e/KernelFusion/GroupAlgorithm/all_of.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -I . -o %t.out +// RUN: %{build} %{embed-ir} -I . -o %t.out // RUN: %{run} %t.out #include "../helpers.hpp" diff --git a/sycl/test-e2e/KernelFusion/GroupAlgorithm/exclusive_scan.cpp b/sycl/test-e2e/KernelFusion/GroupAlgorithm/exclusive_scan.cpp index 26b6d4671fb26..89dd25f7f55e9 100644 --- a/sycl/test-e2e/KernelFusion/GroupAlgorithm/exclusive_scan.cpp +++ b/sycl/test-e2e/KernelFusion/GroupAlgorithm/exclusive_scan.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -I . -o %t.out +// RUN: %{build} %{embed-ir} -I . -o %t.out // RUN: %{run} %t.out #include "../../helpers.hpp" diff --git a/sycl/test-e2e/KernelFusion/GroupAlgorithm/permute.cpp b/sycl/test-e2e/KernelFusion/GroupAlgorithm/permute.cpp index 76be3cb81fd78..33824088a9609 100644 --- a/sycl/test-e2e/KernelFusion/GroupAlgorithm/permute.cpp +++ b/sycl/test-e2e/KernelFusion/GroupAlgorithm/permute.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test fusion works with permute and remapping. diff --git a/sycl/test-e2e/KernelFusion/GroupFunctions/group_barrier.cpp b/sycl/test-e2e/KernelFusion/GroupFunctions/group_barrier.cpp index c587252f44732..470c32031ca13 100644 --- a/sycl/test-e2e/KernelFusion/GroupFunctions/group_barrier.cpp +++ b/sycl/test-e2e/KernelFusion/GroupFunctions/group_barrier.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test complete_fusion preserves barriers by launching a kernel that requires a diff --git a/sycl/test-e2e/KernelFusion/GroupFunctions/group_broadcast.cpp b/sycl/test-e2e/KernelFusion/GroupFunctions/group_broadcast.cpp index 1237450c80705..08c724d2c4dc7 100644 --- a/sycl/test-e2e/KernelFusion/GroupFunctions/group_broadcast.cpp +++ b/sycl/test-e2e/KernelFusion/GroupFunctions/group_broadcast.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test fusion works with group_broadcast. diff --git a/sycl/test-e2e/KernelFusion/GroupFunctions/group_broadcast_remapping.cpp b/sycl/test-e2e/KernelFusion/GroupFunctions/group_broadcast_remapping.cpp index 9578d17937a52..03350be09c4d8 100644 --- a/sycl/test-e2e/KernelFusion/GroupFunctions/group_broadcast_remapping.cpp +++ b/sycl/test-e2e/KernelFusion/GroupFunctions/group_broadcast_remapping.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test fusion works with group_broadcast and remapping. diff --git a/sycl/test-e2e/KernelFusion/Reduction/group_reduce_and_atomic_cross_wg.cpp b/sycl/test-e2e/KernelFusion/Reduction/group_reduce_and_atomic_cross_wg.cpp index e35d36b897cd2..133781a94d32c 100644 --- a/sycl/test-e2e/KernelFusion/Reduction/group_reduce_and_atomic_cross_wg.cpp +++ b/sycl/test-e2e/KernelFusion/Reduction/group_reduce_and_atomic_cross_wg.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out #include "./reduction.hpp" diff --git a/sycl/test-e2e/KernelFusion/Reduction/group_reduce_and_last_wg_detection.cpp b/sycl/test-e2e/KernelFusion/Reduction/group_reduce_and_last_wg_detection.cpp index 0868428cc2ef6..75e96c7afe351 100644 --- a/sycl/test-e2e/KernelFusion/Reduction/group_reduce_and_last_wg_detection.cpp +++ b/sycl/test-e2e/KernelFusion/Reduction/group_reduce_and_last_wg_detection.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // COM: When ran on HIP and CUDA, this algorithm launches 'memcpy' commands diff --git a/sycl/test-e2e/KernelFusion/Reduction/local_atomic_and_atomic_cross_wg.cpp b/sycl/test-e2e/KernelFusion/Reduction/local_atomic_and_atomic_cross_wg.cpp index fb3702907e17f..0bb33f335dfba 100644 --- a/sycl/test-e2e/KernelFusion/Reduction/local_atomic_and_atomic_cross_wg.cpp +++ b/sycl/test-e2e/KernelFusion/Reduction/local_atomic_and_atomic_cross_wg.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out #include "./reduction.hpp" diff --git a/sycl/test-e2e/KernelFusion/Reduction/local_mem_tree_and_atomic_cross_wg.cpp b/sycl/test-e2e/KernelFusion/Reduction/local_mem_tree_and_atomic_cross_wg.cpp index 53768affcbbf0..db0bb20164e0b 100644 --- a/sycl/test-e2e/KernelFusion/Reduction/local_mem_tree_and_atomic_cross_wg.cpp +++ b/sycl/test-e2e/KernelFusion/Reduction/local_mem_tree_and_atomic_cross_wg.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out #include "./reduction.hpp" diff --git a/sycl/test-e2e/KernelFusion/Reduction/range_basic.cpp b/sycl/test-e2e/KernelFusion/Reduction/range_basic.cpp index 2c59b4e0369eb..3d81cd7818e54 100644 --- a/sycl/test-e2e/KernelFusion/Reduction/range_basic.cpp +++ b/sycl/test-e2e/KernelFusion/Reduction/range_basic.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out #include "./reduction.hpp" diff --git a/sycl/test-e2e/KernelFusion/abort_fusion.cpp b/sycl/test-e2e/KernelFusion/abort_fusion.cpp index ba8294e5b49d8..a0cc7291b47f7 100644 --- a/sycl/test-e2e/KernelFusion/abort_fusion.cpp +++ b/sycl/test-e2e/KernelFusion/abort_fusion.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Test fusion being aborted: Different scenarios causing the JIT compiler diff --git a/sycl/test-e2e/KernelFusion/abort_internalization.cpp b/sycl/test-e2e/KernelFusion/abort_internalization.cpp index f1838e96fde0f..854a730d1e994 100644 --- a/sycl/test-e2e/KernelFusion/abort_internalization.cpp +++ b/sycl/test-e2e/KernelFusion/abort_internalization.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -O2 -fsycl-embed-ir -o %t.out +// RUN: %{build} -O2 %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 SYCL_ENABLE_FUSION_CACHING=0 %{run} %t.out 2>&1 | FileCheck %s // Test incomplete internalization: Different scenarios causing the JIT compiler diff --git a/sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp b/sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp index c23690605bb52..0f83ec288afe3 100644 --- a/sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp +++ b/sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // 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 %} // Test pointers being stored are not internalized. diff --git a/sycl/test-e2e/KernelFusion/barrier_local_internalization.cpp b/sycl/test-e2e/KernelFusion/barrier_local_internalization.cpp index bad4a9e8e8be1..d450a548fd840 100644 --- a/sycl/test-e2e/KernelFusion/barrier_local_internalization.cpp +++ b/sycl/test-e2e/KernelFusion/barrier_local_internalization.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with local internalization and a combination of kernels diff --git a/sycl/test-e2e/KernelFusion/buffer_internalization.cpp b/sycl/test-e2e/KernelFusion/buffer_internalization.cpp index 1509b7d27d178..0f952cd6c39ad 100644 --- a/sycl/test-e2e/KernelFusion/buffer_internalization.cpp +++ b/sycl/test-e2e/KernelFusion/buffer_internalization.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with private internalization specified on the diff --git a/sycl/test-e2e/KernelFusion/cached_ndrange.cpp b/sycl/test-e2e/KernelFusion/cached_ndrange.cpp index b3dae4d6ce550..b869b5c2a29ec 100644 --- a/sycl/test-e2e/KernelFusion/cached_ndrange.cpp +++ b/sycl/test-e2e/KernelFusion/cached_ndrange.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not "COMPUTATION ERROR" // UNSUPPORTED: hip diff --git a/sycl/test-e2e/KernelFusion/cancel_fusion.cpp b/sycl/test-e2e/KernelFusion/cancel_fusion.cpp index e5d788f4fce0f..9be8d8cbbd140 100644 --- a/sycl/test-e2e/KernelFusion/cancel_fusion.cpp +++ b/sycl/test-e2e/KernelFusion/cancel_fusion.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test cancel fusion diff --git a/sycl/test-e2e/KernelFusion/complete_fusion.cpp b/sycl/test-e2e/KernelFusion/complete_fusion.cpp index 81efaa4e360d3..f49bb70fc6d9b 100644 --- a/sycl/test-e2e/KernelFusion/complete_fusion.cpp +++ b/sycl/test-e2e/KernelFusion/complete_fusion.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test complete fusion without any internalization diff --git a/sycl/test-e2e/KernelFusion/cooperative_kernel.cpp b/sycl/test-e2e/KernelFusion/cooperative_kernel.cpp index 99485766f2c7c..0faf05d84e2e0 100644 --- a/sycl/test-e2e/KernelFusion/cooperative_kernel.cpp +++ b/sycl/test-e2e/KernelFusion/cooperative_kernel.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=2 %{run} %t.out 2>&1 | FileCheck %s // Test cooperative kernels are not fused diff --git a/sycl/test-e2e/KernelFusion/diamond_shape.cpp b/sycl/test-e2e/KernelFusion/diamond_shape.cpp index 0ab2767d6bc89..7be3c248026b0 100644 --- a/sycl/test-e2e/KernelFusion/diamond_shape.cpp +++ b/sycl/test-e2e/KernelFusion/diamond_shape.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with private internalization specified on the diff --git a/sycl/test-e2e/KernelFusion/diamond_shape_local.cpp b/sycl/test-e2e/KernelFusion/diamond_shape_local.cpp index ce5df8fbc20cd..4ffe33599892c 100644 --- a/sycl/test-e2e/KernelFusion/diamond_shape_local.cpp +++ b/sycl/test-e2e/KernelFusion/diamond_shape_local.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with local internalization specified on the diff --git a/sycl/test-e2e/KernelFusion/event_wait_cancel.cpp b/sycl/test-e2e/KernelFusion/event_wait_cancel.cpp index 3992293a6e03b..76b75d8c3a44d 100644 --- a/sycl/test-e2e/KernelFusion/event_wait_cancel.cpp +++ b/sycl/test-e2e/KernelFusion/event_wait_cancel.cpp @@ -1,5 +1,5 @@ // REQUIRES: aspect-usm_shared_allocations -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test validity of events after cancel_fusion. diff --git a/sycl/test-e2e/KernelFusion/event_wait_complete.cpp b/sycl/test-e2e/KernelFusion/event_wait_complete.cpp index b663d98ba1132..7ab2a80ea48a6 100644 --- a/sycl/test-e2e/KernelFusion/event_wait_complete.cpp +++ b/sycl/test-e2e/KernelFusion/event_wait_complete.cpp @@ -1,5 +1,5 @@ // REQUIRES: aspect-usm_shared_allocations -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test validity of events after complete_fusion. diff --git a/sycl/test-e2e/KernelFusion/existing_local_accessor.cpp b/sycl/test-e2e/KernelFusion/existing_local_accessor.cpp index 5b168cfca9332..6653bff5e9857 100644 --- a/sycl/test-e2e/KernelFusion/existing_local_accessor.cpp +++ b/sycl/test-e2e/KernelFusion/existing_local_accessor.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with local internalization and an local accessor that diff --git a/sycl/test-e2e/KernelFusion/internal_explicit_dependency.cpp b/sycl/test-e2e/KernelFusion/internal_explicit_dependency.cpp index 584894f5b3465..693abaf37f916 100644 --- a/sycl/test-e2e/KernelFusion/internal_explicit_dependency.cpp +++ b/sycl/test-e2e/KernelFusion/internal_explicit_dependency.cpp @@ -1,5 +1,5 @@ // REQUIRES: aspect-usm_shared_allocations -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test complete fusion where one kernel in the fusion list specifies an diff --git a/sycl/test-e2e/KernelFusion/internalize_array_wrapper.cpp b/sycl/test-e2e/KernelFusion/internalize_array_wrapper.cpp index 0d8d4e12f79b5..38c94b1d851d9 100644 --- a/sycl/test-e2e/KernelFusion/internalize_array_wrapper.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_array_wrapper.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test internalization of a nested array type. diff --git a/sycl/test-e2e/KernelFusion/internalize_array_wrapper_local.cpp b/sycl/test-e2e/KernelFusion/internalize_array_wrapper_local.cpp index e019c720a3156..d2c8949acec8a 100644 --- a/sycl/test-e2e/KernelFusion/internalize_array_wrapper_local.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_array_wrapper_local.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test local internalization of a nested array type. diff --git a/sycl/test-e2e/KernelFusion/internalize_deep.cpp b/sycl/test-e2e/KernelFusion/internalize_deep.cpp index 4515a8b994bfb..6cae5c3a516fc 100644 --- a/sycl/test-e2e/KernelFusion/internalize_deep.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_deep.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with internalization of a deep struct type. diff --git a/sycl/test-e2e/KernelFusion/internalize_multi_ptr.cpp b/sycl/test-e2e/KernelFusion/internalize_multi_ptr.cpp index 8023f219a39ab..790c9ee82a57b 100644 --- a/sycl/test-e2e/KernelFusion/internalize_multi_ptr.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_multi_ptr.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with private internalization specified on the diff --git a/sycl/test-e2e/KernelFusion/internalize_non_unit_localsize.cpp b/sycl/test-e2e/KernelFusion/internalize_non_unit_localsize.cpp index caa8edca3d221..0e337675f3dd3 100644 --- a/sycl/test-e2e/KernelFusion/internalize_non_unit_localsize.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_non_unit_localsize.cpp @@ -1,5 +1,5 @@ // REQUIRES: fusion -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test private internalization with "LocalSize" == 3 on buffers that trigger diff --git a/sycl/test-e2e/KernelFusion/internalize_vec.cpp b/sycl/test-e2e/KernelFusion/internalize_vec.cpp index c256803b8f6df..bed6cce2da760 100644 --- a/sycl/test-e2e/KernelFusion/internalize_vec.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_vec.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with internalization of a struct type. diff --git a/sycl/test-e2e/KernelFusion/internalize_vfunc.cpp b/sycl/test-e2e/KernelFusion/internalize_vfunc.cpp index d8e59c2d1544b..e1269b151679d 100644 --- a/sycl/test-e2e/KernelFusion/internalize_vfunc.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_vfunc.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with private internalization specified on the diff --git a/sycl/test-e2e/KernelFusion/jit_caching.cpp b/sycl/test-e2e/KernelFusion/jit_caching.cpp index d13131006c2fe..02e51c80e42f6 100644 --- a/sycl/test-e2e/KernelFusion/jit_caching.cpp +++ b/sycl/test-e2e/KernelFusion/jit_caching.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not "COMPUTATION ERROR" --implicit-check-not "WRONG INTERNALIZATION" // Test caching for JIT fused kernels. Also test for debug messages being diff --git a/sycl/test-e2e/KernelFusion/lit.local.cfg b/sycl/test-e2e/KernelFusion/lit.local.cfg index 05b47667da5c9..1d0db3020f754 100644 --- a/sycl/test-e2e/KernelFusion/lit.local.cfg +++ b/sycl/test-e2e/KernelFusion/lit.local.cfg @@ -6,3 +6,7 @@ config.unsupported_features += ['accelerator'] # TODO: enable on Windows once kernel fusion is supported on Windows. if platform.system() != "Linux": config.unsupported = True + +config.substitutions.append( + ("%{embed-ir}", "%if any-device-is-hip || any-device-is-cuda %{ -fsycl-embed-ir %}") +) diff --git a/sycl/test-e2e/KernelFusion/local_internalization.cpp b/sycl/test-e2e/KernelFusion/local_internalization.cpp index c18ab5cf92d36..501dd36695358 100644 --- a/sycl/test-e2e/KernelFusion/local_internalization.cpp +++ b/sycl/test-e2e/KernelFusion/local_internalization.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with local internalization specified on the diff --git a/sycl/test-e2e/KernelFusion/math_function.cpp b/sycl/test-e2e/KernelFusion/math_function.cpp index 9d17c1428f35d..49f2fd04c5b93 100644 --- a/sycl/test-e2e/KernelFusion/math_function.cpp +++ b/sycl/test-e2e/KernelFusion/math_function.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test fusion of a kernel using a math function. diff --git a/sycl/test-e2e/KernelFusion/non-kernel-cg.cpp b/sycl/test-e2e/KernelFusion/non-kernel-cg.cpp index a4da945970287..3ae4b5be72712 100644 --- a/sycl/test-e2e/KernelFusion/non-kernel-cg.cpp +++ b/sycl/test-e2e/KernelFusion/non-kernel-cg.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=2 %{run} %t.out 2>&1 | FileCheck %s // Test non-kernel device command groups are not fused diff --git a/sycl/test-e2e/KernelFusion/non_unit_local_size.cpp b/sycl/test-e2e/KernelFusion/non_unit_local_size.cpp index 120c02bb57418..db369b8ee0f37 100644 --- a/sycl/test-e2e/KernelFusion/non_unit_local_size.cpp +++ b/sycl/test-e2e/KernelFusion/non_unit_local_size.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test complete fusion with local internalization specified on the diff --git a/sycl/test-e2e/KernelFusion/pointer_arg_function.cpp b/sycl/test-e2e/KernelFusion/pointer_arg_function.cpp index 4f27b675f90bc..a5ec0a57926ee 100644 --- a/sycl/test-e2e/KernelFusion/pointer_arg_function.cpp +++ b/sycl/test-e2e/KernelFusion/pointer_arg_function.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // This test currently fails because InferAddressSpace is not able to remove all // address-space casts, causing internalization to fail. diff --git a/sycl/test-e2e/KernelFusion/private_internalization.cpp b/sycl/test-e2e/KernelFusion/private_internalization.cpp index 38f14c5be2f65..f53aa40e90389 100644 --- a/sycl/test-e2e/KernelFusion/private_internalization.cpp +++ b/sycl/test-e2e/KernelFusion/private_internalization.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_PARAMS=16:32:512 %{run} %t.out // Test complete fusion with private internalization specified on the diff --git a/sycl/test-e2e/KernelFusion/queue-shortcut-functions.cpp b/sycl/test-e2e/KernelFusion/queue-shortcut-functions.cpp index 50feac19c2f42..6adcd29ab3071 100644 --- a/sycl/test-e2e/KernelFusion/queue-shortcut-functions.cpp +++ b/sycl/test-e2e/KernelFusion/queue-shortcut-functions.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 \ // RUN: | FileCheck %s --implicit-check-not=ERROR diff --git a/sycl/test-e2e/KernelFusion/ranged_offset_accessor.cpp b/sycl/test-e2e/KernelFusion/ranged_offset_accessor.cpp index 41e658bf2a38d..6c3c2d3237d5e 100644 --- a/sycl/test-e2e/KernelFusion/ranged_offset_accessor.cpp +++ b/sycl/test-e2e/KernelFusion/ranged_offset_accessor.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with private internalization on accessors with different diff --git a/sycl/test-e2e/KernelFusion/struct_with_array.cpp b/sycl/test-e2e/KernelFusion/struct_with_array.cpp index 5f35d0d2e7c23..c64ed6e4979c5 100644 --- a/sycl/test-e2e/KernelFusion/struct_with_array.cpp +++ b/sycl/test-e2e/KernelFusion/struct_with_array.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with private internalization on a kernel functor with an diff --git a/sycl/test-e2e/KernelFusion/sync_acc_mem_op.cpp b/sycl/test-e2e/KernelFusion/sync_acc_mem_op.cpp index 1107c8a3b555f..825b0818eb344 100644 --- a/sycl/test-e2e/KernelFusion/sync_acc_mem_op.cpp +++ b/sycl/test-e2e/KernelFusion/sync_acc_mem_op.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Windows doesn't yet have full shutdown(). diff --git a/sycl/test-e2e/KernelFusion/sync_buffer_destruction.cpp b/sycl/test-e2e/KernelFusion/sync_buffer_destruction.cpp index 56e935dbacc40..a221568e4e4f8 100644 --- a/sycl/test-e2e/KernelFusion/sync_buffer_destruction.cpp +++ b/sycl/test-e2e/KernelFusion/sync_buffer_destruction.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Windows doesn't yet have full shutdown(). diff --git a/sycl/test-e2e/KernelFusion/sync_event_wait.cpp b/sycl/test-e2e/KernelFusion/sync_event_wait.cpp index 6729ebeda0a9d..9f93852dbcc82 100644 --- a/sycl/test-e2e/KernelFusion/sync_event_wait.cpp +++ b/sycl/test-e2e/KernelFusion/sync_event_wait.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Test fusion cancellation on event::wait() happening before diff --git a/sycl/test-e2e/KernelFusion/sync_host_accessor.cpp b/sycl/test-e2e/KernelFusion/sync_host_accessor.cpp index c3ca9891ae11d..7aa702767d93e 100644 --- a/sycl/test-e2e/KernelFusion/sync_host_accessor.cpp +++ b/sycl/test-e2e/KernelFusion/sync_host_accessor.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Windows doesn't yet have full shutdown(). diff --git a/sycl/test-e2e/KernelFusion/sync_host_task.cpp b/sycl/test-e2e/KernelFusion/sync_host_task.cpp index cf42331b2dcef..5b1eaaac745b8 100644 --- a/sycl/test-e2e/KernelFusion/sync_host_task.cpp +++ b/sycl/test-e2e/KernelFusion/sync_host_task.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Windows doesn't yet have full shutdown(). diff --git a/sycl/test-e2e/KernelFusion/sync_queue_destruction.cpp b/sycl/test-e2e/KernelFusion/sync_queue_destruction.cpp index c1e7bec1fe23d..24d50197571c3 100644 --- a/sycl/test-e2e/KernelFusion/sync_queue_destruction.cpp +++ b/sycl/test-e2e/KernelFusion/sync_queue_destruction.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Windows doesn't yet have full shutdown(). diff --git a/sycl/test-e2e/KernelFusion/sync_queue_wait.cpp b/sycl/test-e2e/KernelFusion/sync_queue_wait.cpp index e33508a673430..7cf6197c7d1ec 100644 --- a/sycl/test-e2e/KernelFusion/sync_queue_wait.cpp +++ b/sycl/test-e2e/KernelFusion/sync_queue_wait.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Windows doesn't yet have full shutdown(). diff --git a/sycl/test-e2e/KernelFusion/sync_second_queue.cpp b/sycl/test-e2e/KernelFusion/sync_second_queue.cpp index 93ada86575d1d..836d9984e824f 100644 --- a/sycl/test-e2e/KernelFusion/sync_second_queue.cpp +++ b/sycl/test-e2e/KernelFusion/sync_second_queue.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Windows doesn't yet have full shutdown(). diff --git a/sycl/test-e2e/KernelFusion/sync_two_queues_requirement.cpp b/sycl/test-e2e/KernelFusion/sync_two_queues_requirement.cpp index 475a6694f8a1d..9bc209552c35a 100644 --- a/sycl/test-e2e/KernelFusion/sync_two_queues_requirement.cpp +++ b/sycl/test-e2e/KernelFusion/sync_two_queues_requirement.cpp @@ -1,5 +1,5 @@ // For this test, complete_fusion must be supported. -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Test fusion cancellation for requirement between two active fusions. diff --git a/sycl/test-e2e/KernelFusion/sync_usm_mem_op.cpp b/sycl/test-e2e/KernelFusion/sync_usm_mem_op.cpp index 927540bf2b40b..fa0ae3f1b31d9 100644 --- a/sycl/test-e2e/KernelFusion/sync_usm_mem_op.cpp +++ b/sycl/test-e2e/KernelFusion/sync_usm_mem_op.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s // Windows doesn't yet have full shutdown(). // UNSUPPORTED: ze_debug && windows diff --git a/sycl/test-e2e/KernelFusion/three_dimensional.cpp b/sycl/test-e2e/KernelFusion/three_dimensional.cpp index 48d2339a61cc7..9dcdcd264e7b9 100644 --- a/sycl/test-e2e/KernelFusion/three_dimensional.cpp +++ b/sycl/test-e2e/KernelFusion/three_dimensional.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: %{run} %t.out // Test complete fusion with private internalization specified on the diff --git a/sycl/test-e2e/KernelFusion/two_dimensional.cpp b/sycl/test-e2e/KernelFusion/two_dimensional.cpp index 1f4f2c5f62af3..aa098009d5f23 100644 --- a/sycl/test-e2e/KernelFusion/two_dimensional.cpp +++ b/sycl/test-e2e/KernelFusion/two_dimensional.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -O2 -o %t.out +// RUN: %{build} %{embed-ir} -O2 -o %t.out // RUN: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_PARAMS=16:32:64 %{run} %t.out // Test complete fusion with private internalization specified on the diff --git a/sycl/test-e2e/KernelFusion/usm_no_dependencies.cpp b/sycl/test-e2e/KernelFusion/usm_no_dependencies.cpp index 570ac943bf723..f3152cee4c413 100644 --- a/sycl/test-e2e/KernelFusion/usm_no_dependencies.cpp +++ b/sycl/test-e2e/KernelFusion/usm_no_dependencies.cpp @@ -1,5 +1,5 @@ // REQUIRES: aspect-usm_shared_allocations -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test complete fusion using USM pointers. diff --git a/sycl/test-e2e/KernelFusion/work_group_barrier.cpp b/sycl/test-e2e/KernelFusion/work_group_barrier.cpp index 74bab49c46a65..39a5a4cdf57ca 100644 --- a/sycl/test-e2e/KernelFusion/work_group_barrier.cpp +++ b/sycl/test-e2e/KernelFusion/work_group_barrier.cpp @@ -1,4 +1,4 @@ -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test complete fusion with a combination of kernels that require a work-group diff --git a/sycl/test-e2e/KernelFusion/wrapped_usm.cpp b/sycl/test-e2e/KernelFusion/wrapped_usm.cpp index 584c55a3469ea..1254026223aa7 100644 --- a/sycl/test-e2e/KernelFusion/wrapped_usm.cpp +++ b/sycl/test-e2e/KernelFusion/wrapped_usm.cpp @@ -1,5 +1,5 @@ // REQUIRES: aspect-usm_shared_allocations -// RUN: %{build} -fsycl-embed-ir -o %t.out +// RUN: %{build} %{embed-ir} -o %t.out // RUN: %{run} %t.out // Test complete fusion using an wrapped USM pointer as kernel functor argument.