diff --git a/sycl/test-e2e/KernelFusion/abort_fusion.cpp b/sycl/test-e2e/KernelFusion/abort_fusion.cpp index 8468383a49930..547f5b0233d12 100644 --- a/sycl/test-e2e/KernelFusion/abort_fusion.cpp +++ b/sycl/test-e2e/KernelFusion/abort_fusion.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s diff --git a/sycl/test-e2e/KernelFusion/abort_internalization.cpp b/sycl/test-e2e/KernelFusion/abort_internalization.cpp index 384e352218325..b0484e75febcc 100644 --- a/sycl/test-e2e/KernelFusion/abort_internalization.cpp +++ b/sycl/test-e2e/KernelFusion/abort_internalization.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -O2 -fsycl-embed-ir -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 SYCL_ENABLE_FUSION_CACHING=0 %{run} %t.out 2>&1 | FileCheck %s diff --git a/sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp b/sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp index 92d7e4e70bed7..ec9519a291f75 100644 --- a/sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp +++ b/sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-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 %} diff --git a/sycl/test-e2e/KernelFusion/barrier_local_internalization.cpp b/sycl/test-e2e/KernelFusion/barrier_local_internalization.cpp index 9a3dbb844a85f..4a1a9d40a9d82 100644 --- a/sycl/test-e2e/KernelFusion/barrier_local_internalization.cpp +++ b/sycl/test-e2e/KernelFusion/barrier_local_internalization.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/buffer_internalization.cpp b/sycl/test-e2e/KernelFusion/buffer_internalization.cpp index 637f2cd3743f3..1e51a3320f0c3 100644 --- a/sycl/test-e2e/KernelFusion/buffer_internalization.cpp +++ b/sycl/test-e2e/KernelFusion/buffer_internalization.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/cached_ndrange.cpp b/sycl/test-e2e/KernelFusion/cached_ndrange.cpp index 75251e3ca8a31..ef2bbf6b11a74 100644 --- a/sycl/test-e2e/KernelFusion/cached_ndrange.cpp +++ b/sycl/test-e2e/KernelFusion/cached_ndrange.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-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 16d8ceb023e2f..eca8ae202b046 100644 --- a/sycl/test-e2e/KernelFusion/cancel_fusion.cpp +++ b/sycl/test-e2e/KernelFusion/cancel_fusion.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/complete_fusion.cpp b/sycl/test-e2e/KernelFusion/complete_fusion.cpp index 880bebfc7abd4..f99ca2afbaa5f 100644 --- a/sycl/test-e2e/KernelFusion/complete_fusion.cpp +++ b/sycl/test-e2e/KernelFusion/complete_fusion.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/device_info_descriptor.cpp b/sycl/test-e2e/KernelFusion/device_info_descriptor.cpp index d49cba52e9b85..06f758b0761c6 100644 --- a/sycl/test-e2e/KernelFusion/device_info_descriptor.cpp +++ b/sycl/test-e2e/KernelFusion/device_info_descriptor.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/diamond_shape.cpp b/sycl/test-e2e/KernelFusion/diamond_shape.cpp index c2edaae353204..d93fef5c6aa7c 100644 --- a/sycl/test-e2e/KernelFusion/diamond_shape.cpp +++ b/sycl/test-e2e/KernelFusion/diamond_shape.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/diamond_shape_local.cpp b/sycl/test-e2e/KernelFusion/diamond_shape_local.cpp index c8595ec138bf6..0d1ca511c07cc 100644 --- a/sycl/test-e2e/KernelFusion/diamond_shape_local.cpp +++ b/sycl/test-e2e/KernelFusion/diamond_shape_local.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/different_nd_ranges.cpp b/sycl/test-e2e/KernelFusion/different_nd_ranges.cpp index 6cf1619e20577..f912b2f0cc85d 100644 --- a/sycl/test-e2e/KernelFusion/different_nd_ranges.cpp +++ b/sycl/test-e2e/KernelFusion/different_nd_ranges.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s diff --git a/sycl/test-e2e/KernelFusion/event_wait_cancel.cpp b/sycl/test-e2e/KernelFusion/event_wait_cancel.cpp index dacb2a2a82187..ee46c02fae1dc 100644 --- a/sycl/test-e2e/KernelFusion/event_wait_cancel.cpp +++ b/sycl/test-e2e/KernelFusion/event_wait_cancel.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // REQUIRES: aspect-usm_shared_allocations // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/event_wait_complete.cpp b/sycl/test-e2e/KernelFusion/event_wait_complete.cpp index 60428465f06a2..69ac3bddfc310 100644 --- a/sycl/test-e2e/KernelFusion/event_wait_complete.cpp +++ b/sycl/test-e2e/KernelFusion/event_wait_complete.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // REQUIRES: aspect-usm_shared_allocations // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/existing_local_accessor.cpp b/sycl/test-e2e/KernelFusion/existing_local_accessor.cpp index 182c101341616..b5c596fc85503 100644 --- a/sycl/test-e2e/KernelFusion/existing_local_accessor.cpp +++ b/sycl/test-e2e/KernelFusion/existing_local_accessor.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/internal_explicit_dependency.cpp b/sycl/test-e2e/KernelFusion/internal_explicit_dependency.cpp index af91f19eba526..faa1b7f998474 100644 --- a/sycl/test-e2e/KernelFusion/internal_explicit_dependency.cpp +++ b/sycl/test-e2e/KernelFusion/internal_explicit_dependency.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // REQUIRES: aspect-usm_shared_allocations // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/internalize_array_wrapper.cpp b/sycl/test-e2e/KernelFusion/internalize_array_wrapper.cpp index 4d2f9c4b72b94..ca48841749d1b 100644 --- a/sycl/test-e2e/KernelFusion/internalize_array_wrapper.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_array_wrapper.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/internalize_array_wrapper_local.cpp b/sycl/test-e2e/KernelFusion/internalize_array_wrapper_local.cpp index f500c6ce52eaa..8a5c5ffe54af0 100644 --- a/sycl/test-e2e/KernelFusion/internalize_array_wrapper_local.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_array_wrapper_local.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/internalize_deep.cpp b/sycl/test-e2e/KernelFusion/internalize_deep.cpp index ae58bc7111c8e..a4d87ec930a1b 100644 --- a/sycl/test-e2e/KernelFusion/internalize_deep.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_deep.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/internalize_multi_ptr.cpp b/sycl/test-e2e/KernelFusion/internalize_multi_ptr.cpp index 5f1d55281dccb..e2aeca385f7ab 100644 --- a/sycl/test-e2e/KernelFusion/internalize_multi_ptr.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_multi_ptr.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/internalize_vec.cpp b/sycl/test-e2e/KernelFusion/internalize_vec.cpp index 45ddfe1c65b5d..945733f205a25 100644 --- a/sycl/test-e2e/KernelFusion/internalize_vec.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_vec.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/internalize_vfunc.cpp b/sycl/test-e2e/KernelFusion/internalize_vfunc.cpp index 9f598740e0577..278395f2a90fd 100644 --- a/sycl/test-e2e/KernelFusion/internalize_vfunc.cpp +++ b/sycl/test-e2e/KernelFusion/internalize_vfunc.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/jit_caching.cpp b/sycl/test-e2e/KernelFusion/jit_caching.cpp index f1e1876feb5e6..91ce3af793c06 100644 --- a/sycl/test-e2e/KernelFusion/jit_caching.cpp +++ b/sycl/test-e2e/KernelFusion/jit_caching.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-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" diff --git a/sycl/test-e2e/KernelFusion/jit_caching_multispirv.cpp b/sycl/test-e2e/KernelFusion/jit_caching_multispirv.cpp index d1e25f8da6ae2..1f71d42609b49 100644 --- a/sycl/test-e2e/KernelFusion/jit_caching_multispirv.cpp +++ b/sycl/test-e2e/KernelFusion/jit_caching_multispirv.cpp @@ -1,4 +1,4 @@ -// REQUIRES: fusion, gpu, (opencl || level_zero) +// REQUIRES: gpu, (opencl || level_zero) // RUN: %{build} -O2 -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run-unfiltered-devices} %t.out 2>&1 | FileCheck %s --implicit-check-not "WRONG a VALUE" --implicit-check-not "WRONG b VALUE" diff --git a/sycl/test-e2e/KernelFusion/jit_caching_multitarget.cpp b/sycl/test-e2e/KernelFusion/jit_caching_multitarget.cpp index e6bc089ed41eb..d8bbc874c8107 100644 --- a/sycl/test-e2e/KernelFusion/jit_caching_multitarget.cpp +++ b/sycl/test-e2e/KernelFusion/jit_caching_multitarget.cpp @@ -1,4 +1,4 @@ -// REQUIRES: fusion, gpu, (hip || cuda) +// REQUIRES: gpu, (hip || cuda) // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run-unfiltered-devices} %t.out 2>&1 | FileCheck %s --implicit-check-not "WRONG a VALUE" --implicit-check-not "WRONG b VALUE" // XFAIL: * diff --git a/sycl/test-e2e/KernelFusion/lit.local.cfg b/sycl/test-e2e/KernelFusion/lit.local.cfg index 218cd14243702..05b47667da5c9 100644 --- a/sycl/test-e2e/KernelFusion/lit.local.cfg +++ b/sycl/test-e2e/KernelFusion/lit.local.cfg @@ -1,5 +1,6 @@ import platform +config.required_features += ['fusion'] config.unsupported_features += ['accelerator'] # TODO: enable on Windows once kernel fusion is supported on Windows. diff --git a/sycl/test-e2e/KernelFusion/local_internalization.cpp b/sycl/test-e2e/KernelFusion/local_internalization.cpp index b8689385af12b..c860c64b2cfbf 100644 --- a/sycl/test-e2e/KernelFusion/local_internalization.cpp +++ b/sycl/test-e2e/KernelFusion/local_internalization.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/math_function.cpp b/sycl/test-e2e/KernelFusion/math_function.cpp index bd3f9417492f7..be9673b9fb79b 100644 --- a/sycl/test-e2e/KernelFusion/math_function.cpp +++ b/sycl/test-e2e/KernelFusion/math_function.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/non_unit_local_size.cpp b/sycl/test-e2e/KernelFusion/non_unit_local_size.cpp index ea3fd0e94f8ad..99e891a1536ca 100644 --- a/sycl/test-e2e/KernelFusion/non_unit_local_size.cpp +++ b/sycl/test-e2e/KernelFusion/non_unit_local_size.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/pointer_arg_function.cpp b/sycl/test-e2e/KernelFusion/pointer_arg_function.cpp index 1687fe528fb1d..c064f04af7816 100644 --- a/sycl/test-e2e/KernelFusion/pointer_arg_function.cpp +++ b/sycl/test-e2e/KernelFusion/pointer_arg_function.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out // This test currently fails because InferAddressSpace is not able to remove all diff --git a/sycl/test-e2e/KernelFusion/private_internalization.cpp b/sycl/test-e2e/KernelFusion/private_internalization.cpp index 12f50506ce5ab..5a1eb99ed0013 100644 --- a/sycl/test-e2e/KernelFusion/private_internalization.cpp +++ b/sycl/test-e2e/KernelFusion/private_internalization.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/ranged_offset_accessor.cpp b/sycl/test-e2e/KernelFusion/ranged_offset_accessor.cpp index 9f6995b945499..f31edcab70874 100644 --- a/sycl/test-e2e/KernelFusion/ranged_offset_accessor.cpp +++ b/sycl/test-e2e/KernelFusion/ranged_offset_accessor.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/struct_with_array.cpp b/sycl/test-e2e/KernelFusion/struct_with_array.cpp index 87161f139e3d7..2f15aaf5f2ec4 100644 --- a/sycl/test-e2e/KernelFusion/struct_with_array.cpp +++ b/sycl/test-e2e/KernelFusion/struct_with_array.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/sync_two_queues_event_dep.cpp b/sycl/test-e2e/KernelFusion/sync_two_queues_event_dep.cpp index 7127a8f25772c..38286c48b8a0f 100644 --- a/sycl/test-e2e/KernelFusion/sync_two_queues_event_dep.cpp +++ b/sycl/test-e2e/KernelFusion/sync_two_queues_event_dep.cpp @@ -1,5 +1,4 @@ // For this test, complete_fusion must be supported. -// REQUIRES: fusion // RUN: %{build} -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s diff --git a/sycl/test-e2e/KernelFusion/sync_two_queues_requirement.cpp b/sycl/test-e2e/KernelFusion/sync_two_queues_requirement.cpp index cc98b0d2eeb5b..054cc0c5bb4b7 100644 --- a/sycl/test-e2e/KernelFusion/sync_two_queues_requirement.cpp +++ b/sycl/test-e2e/KernelFusion/sync_two_queues_requirement.cpp @@ -1,5 +1,4 @@ // For this test, complete_fusion must be supported. -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: env SYCL_RT_WARNING_LEVEL=1 %{run} %t.out 2>&1 | FileCheck %s diff --git a/sycl/test-e2e/KernelFusion/three_dimensional.cpp b/sycl/test-e2e/KernelFusion/three_dimensional.cpp index dcb169e73286c..320ae9c537295 100644 --- a/sycl/test-e2e/KernelFusion/three_dimensional.cpp +++ b/sycl/test-e2e/KernelFusion/three_dimensional.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/two_dimensional.cpp b/sycl/test-e2e/KernelFusion/two_dimensional.cpp index 97c0e40a4ca5c..7efe0f472032e 100644 --- a/sycl/test-e2e/KernelFusion/two_dimensional.cpp +++ b/sycl/test-e2e/KernelFusion/two_dimensional.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -O2 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/usm_no_dependencies.cpp b/sycl/test-e2e/KernelFusion/usm_no_dependencies.cpp index 68159a4a0107c..7fcef9d136b47 100644 --- a/sycl/test-e2e/KernelFusion/usm_no_dependencies.cpp +++ b/sycl/test-e2e/KernelFusion/usm_no_dependencies.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // REQUIRES: aspect-usm_shared_allocations // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/work_group_barrier.cpp b/sycl/test-e2e/KernelFusion/work_group_barrier.cpp index f44343ead8c6b..6b3624ad9e940 100644 --- a/sycl/test-e2e/KernelFusion/work_group_barrier.cpp +++ b/sycl/test-e2e/KernelFusion/work_group_barrier.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelFusion/wrapped_usm.cpp b/sycl/test-e2e/KernelFusion/wrapped_usm.cpp index 06696c0950e4a..7664b5c6183d2 100644 --- a/sycl/test-e2e/KernelFusion/wrapped_usm.cpp +++ b/sycl/test-e2e/KernelFusion/wrapped_usm.cpp @@ -1,4 +1,3 @@ -// REQUIRES: fusion // REQUIRES: aspect-usm_shared_allocations // RUN: %{build} -fsycl-embed-ir -o %t.out // RUN: %{run} %t.out