From 3bd1c7ddfd89c51efd405859c63a5dda4c735217 Mon Sep 17 00:00:00 2001 From: "Larsen, Steffen" Date: Tue, 1 Jul 2025 00:04:23 -0700 Subject: [PATCH 1/3] [SYCL][E2E] Drop XFAIL and UNSUPPORTED for accelerator As accelerator devices are no longer part of testing, this commit removes the XFAIL and UNSUPPORTED cases in SYCL tests that reference accelerator. Signed-off-by: Larsen, Steffen --- sycl/test-e2e/AddressCast/dynamic_address_cast.cpp | 3 +-- sycl/test-e2e/AddressCast/khr_dynamic_addrspace_cast.cpp | 3 +-- .../DeviceImageBackendContent/OCL_interop_test.cpp | 2 -- .../Experimental/launch_queries/max_sub_groups.cpp | 3 --- .../Graph/Explicit/spec_constants_handler_api.cpp | 5 ----- .../Graph/Explicit/spec_constants_kernel_bundle_api.cpp | 2 -- .../Graph/RecordReplay/spec_constants_handler_api.cpp | 5 ----- .../RecordReplay/spec_constants_kernel_bundle_api.cpp | 2 -- sycl/test-e2e/GroupAlgorithm/root_group.cpp | 2 +- sycl/test-e2e/KernelCompiler/opencl.cpp | 2 -- sycl/test-e2e/KernelCompiler/opencl_cache.cpp | 2 -- sycl/test-e2e/KernelCompiler/opencl_cache_eviction.cpp | 3 --- sycl/test-e2e/KernelCompiler/opencl_flags.cpp | 2 -- sycl/test-e2e/KernelCompiler/opencl_multi_device.cpp | 2 -- sycl/test-e2e/KernelCompiler/sycl.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_basic.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_cache.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_cache_pm.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_context_error.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_device_globals.cpp | 2 -- .../test-e2e/KernelCompiler/sycl_export_registration.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_include_paths.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_join.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_lifetimes.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_link.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_link_common_dep.cpp | 3 --- .../sycl_link_common_dep_optional_feature.cpp | 3 --- .../KernelCompiler/sycl_link_export_conflict.cpp | 3 --- .../KernelCompiler/sycl_link_kernel_conflict.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_namespaces.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_overload.cpp | 3 --- sycl/test-e2e/KernelCompiler/sycl_time_trace.cpp | 2 -- sycl/test-e2e/NewOffloadDriver/lit.local.cfg | 2 -- sycl/test-e2e/ProfilingTag/in_order_profiling_queue.cpp | 4 ---- sycl/test-e2e/ProfilingTag/profiling_queue.cpp | 4 ---- sycl/test-e2e/Regression/get_subgroup_sizes.cpp | 9 ++++----- sycl/test-e2e/SYCLBIN/link_rtc_input.cpp | 3 --- sycl/test-e2e/SYCLBIN/link_rtc_object.cpp | 3 --- sycl/test-e2e/XPTI/buffer/multiple_queues.cpp | 2 +- 39 files changed, 8 insertions(+), 109 deletions(-) diff --git a/sycl/test-e2e/AddressCast/dynamic_address_cast.cpp b/sycl/test-e2e/AddressCast/dynamic_address_cast.cpp index 43f4b655ea6ad..1c3c3f44c0fb0 100644 --- a/sycl/test-e2e/AddressCast/dynamic_address_cast.cpp +++ b/sycl/test-e2e/AddressCast/dynamic_address_cast.cpp @@ -7,8 +7,7 @@ //===----------------------------------------------------------------------===// // Issue with OpenCL CPU runtime implementation of OpGenericCastToPtrExplicit -// FPGA emulator affected by same issue as OpenCL CPU runtime -// UNSUPPORTED: cpu, accelerator +// UNSUPPORTED: cpu // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/AddressCast/khr_dynamic_addrspace_cast.cpp b/sycl/test-e2e/AddressCast/khr_dynamic_addrspace_cast.cpp index 6213a28017bd8..0b87d0e51e9e0 100644 --- a/sycl/test-e2e/AddressCast/khr_dynamic_addrspace_cast.cpp +++ b/sycl/test-e2e/AddressCast/khr_dynamic_addrspace_cast.cpp @@ -7,8 +7,7 @@ //===----------------------------------------------------------------------===// // Issue with OpenCL CPU runtime implementation of OpGenericCastToPtrExplicit -// FPGA emulator affected by same issue as OpenCL CPU runtime -// UNSUPPORTED: cpu, accelerator +// UNSUPPORTED: cpu // UNSUPPORTED-TRACKER: CMPLRLLVM-37365 // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/DeviceImageBackendContent/OCL_interop_test.cpp b/sycl/test-e2e/DeviceImageBackendContent/OCL_interop_test.cpp index cd112913cd4ae..2b1f539b491c9 100644 --- a/sycl/test-e2e/DeviceImageBackendContent/OCL_interop_test.cpp +++ b/sycl/test-e2e/DeviceImageBackendContent/OCL_interop_test.cpp @@ -1,8 +1,6 @@ // REQUIRES: target-spir, opencl, opencl_icd, aspect-usm_shared_allocations // RUN: %{build} %opencl_lib -fno-sycl-dead-args-optimization -o %t.out // RUN: %{run} %t.out -// XFAIL: accelerator -// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16914 // #include #include diff --git a/sycl/test-e2e/Experimental/launch_queries/max_sub_groups.cpp b/sycl/test-e2e/Experimental/launch_queries/max_sub_groups.cpp index ed04c24b46cb6..c3904c9c6fce7 100644 --- a/sycl/test-e2e/Experimental/launch_queries/max_sub_groups.cpp +++ b/sycl/test-e2e/Experimental/launch_queries/max_sub_groups.cpp @@ -1,9 +1,6 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out -// XFAIL: accelerator -// XFAIL-TRACKER: https://github.com/intel/llvm/issues/17209 - #include #include #include diff --git a/sycl/test-e2e/Graph/Explicit/spec_constants_handler_api.cpp b/sycl/test-e2e/Graph/Explicit/spec_constants_handler_api.cpp index 9b84ca07ba270..12cfe5a206136 100644 --- a/sycl/test-e2e/Graph/Explicit/spec_constants_handler_api.cpp +++ b/sycl/test-e2e/Graph/Explicit/spec_constants_handler_api.cpp @@ -6,11 +6,6 @@ // RUN: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // -// Intended - The following limitation is not restricted to Sycl-Graph -// but comes from the orignal test : `SpecConstants/2020/handler-api.cpp` -// FIXME: ACC devices use emulation path, which is not yet supported -// UNSUPPORTED: accelerator - #define GRAPH_E2E_EXPLICIT #include "../Inputs/spec_constants_handler_api.cpp" diff --git a/sycl/test-e2e/Graph/Explicit/spec_constants_kernel_bundle_api.cpp b/sycl/test-e2e/Graph/Explicit/spec_constants_kernel_bundle_api.cpp index a275bb512e949..63ab65bdae6ac 100644 --- a/sycl/test-e2e/Graph/Explicit/spec_constants_kernel_bundle_api.cpp +++ b/sycl/test-e2e/Graph/Explicit/spec_constants_kernel_bundle_api.cpp @@ -8,8 +8,6 @@ // Intended - The following limitation is not restricted to Sycl-Graph // but comes from the orignal test : `SpecConstants/2020/kernel-bundle-api.cpp` -// FIXME: ACC devices use emulation path, which is not yet supported -// UNSUPPORTED: accelerator // UNSUPPORTED: hip #define GRAPH_E2E_EXPLICIT diff --git a/sycl/test-e2e/Graph/RecordReplay/spec_constants_handler_api.cpp b/sycl/test-e2e/Graph/RecordReplay/spec_constants_handler_api.cpp index d70e0375a325f..5a66e5445d4a1 100644 --- a/sycl/test-e2e/Graph/RecordReplay/spec_constants_handler_api.cpp +++ b/sycl/test-e2e/Graph/RecordReplay/spec_constants_handler_api.cpp @@ -6,11 +6,6 @@ // RUN: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // -// Intended - The following limitation is not restricted to Sycl-Graph -// but comes from the orignal test : `SpecConstants/2020/handler-api.cpp` -// FIXME: ACC devices use emulation path, which is not yet supported -// UNSUPPORTED: accelerator - #define GRAPH_E2E_RECORD_REPLAY #include "../Inputs/spec_constants_handler_api.cpp" diff --git a/sycl/test-e2e/Graph/RecordReplay/spec_constants_kernel_bundle_api.cpp b/sycl/test-e2e/Graph/RecordReplay/spec_constants_kernel_bundle_api.cpp index 328feb7c244d0..195b2bbb81603 100644 --- a/sycl/test-e2e/Graph/RecordReplay/spec_constants_kernel_bundle_api.cpp +++ b/sycl/test-e2e/Graph/RecordReplay/spec_constants_kernel_bundle_api.cpp @@ -8,8 +8,6 @@ // Intended - The following limitation is not restricted to Sycl-Graph // but comes from the orignal test : `SpecConstants/2020/kernel-bundle-api.cpp` -// FIXME: ACC devices use emulation path, which is not yet supported -// UNSUPPORTED: accelerator // UNSUPPORTED: hip #define GRAPH_E2E_RECORD_REPLAY diff --git a/sycl/test-e2e/GroupAlgorithm/root_group.cpp b/sycl/test-e2e/GroupAlgorithm/root_group.cpp index c0614c69d7991..1ca09c788bffb 100644 --- a/sycl/test-e2e/GroupAlgorithm/root_group.cpp +++ b/sycl/test-e2e/GroupAlgorithm/root_group.cpp @@ -1,5 +1,5 @@ // Fails with opencl non-cpu, enable when fixed. -// XFAIL: (opencl && !cpu && !accelerator) +// XFAIL: (opencl && !cpu) // XFAIL-TRACKER: https://github.com/intel/llvm/issues/14641 // RUN: %{build} -I . -o %t.out %if target-nvidia %{ -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_70 %} diff --git a/sycl/test-e2e/KernelCompiler/opencl.cpp b/sycl/test-e2e/KernelCompiler/opencl.cpp index 4975170f129dc..d961e6a6fdfc2 100644 --- a/sycl/test-e2e/KernelCompiler/opencl.cpp +++ b/sycl/test-e2e/KernelCompiler/opencl.cpp @@ -7,8 +7,6 @@ //===----------------------------------------------------------------------===// // REQUIRES: ocloc && (opencl || level_zero) -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. // -- Test the kernel_compiler with OpenCL source. // RUN: %{build} -o %t.out diff --git a/sycl/test-e2e/KernelCompiler/opencl_cache.cpp b/sycl/test-e2e/KernelCompiler/opencl_cache.cpp index 3cad3bc10830f..7a8473721fa2e 100644 --- a/sycl/test-e2e/KernelCompiler/opencl_cache.cpp +++ b/sycl/test-e2e/KernelCompiler/opencl_cache.cpp @@ -7,8 +7,6 @@ //===----------------------------------------------------------------------===// // REQUIRES: ocloc && (opencl || level_zero) -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. // -- Test the kernel_compiler with OpenCL source. // RUN: %{build} -o %t.out diff --git a/sycl/test-e2e/KernelCompiler/opencl_cache_eviction.cpp b/sycl/test-e2e/KernelCompiler/opencl_cache_eviction.cpp index 9db50e18eaf1e..1fa37ca9b9311 100644 --- a/sycl/test-e2e/KernelCompiler/opencl_cache_eviction.cpp +++ b/sycl/test-e2e/KernelCompiler/opencl_cache_eviction.cpp @@ -9,9 +9,6 @@ // Tests on-disk cache and eviction with kernel_compiler. // REQUIRES: ocloc && (opencl || level_zero) -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: kernel_compiler is not available for accelerator -// devices. // -- Test the kernel_compiler with OpenCL source. // RUN: %{build} -o %t.out diff --git a/sycl/test-e2e/KernelCompiler/opencl_flags.cpp b/sycl/test-e2e/KernelCompiler/opencl_flags.cpp index c724f24b00b19..69ca92c30ff6c 100644 --- a/sycl/test-e2e/KernelCompiler/opencl_flags.cpp +++ b/sycl/test-e2e/KernelCompiler/opencl_flags.cpp @@ -1,6 +1,4 @@ // REQUIRES: ocloc && (opencl || level_zero) -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. // RUN: %{build} -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/KernelCompiler/opencl_multi_device.cpp b/sycl/test-e2e/KernelCompiler/opencl_multi_device.cpp index e51351c1779af..780655ad24b33 100644 --- a/sycl/test-e2e/KernelCompiler/opencl_multi_device.cpp +++ b/sycl/test-e2e/KernelCompiler/opencl_multi_device.cpp @@ -7,8 +7,6 @@ //===----------------------------------------------------------------------===// // REQUIRES: (opencl || level_zero) && ocloc -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. // RUN: %{build} -o %t.out // RUN: env NEOReadDebugKeys=1 CreateMultipleRootDevices=3 %{run} %t.out diff --git a/sycl/test-e2e/KernelCompiler/sycl.cpp b/sycl/test-e2e/KernelCompiler/sycl.cpp index fac041254778a..3095d570be946 100644 --- a/sycl/test-e2e/KernelCompiler/sycl.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_device_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // RUN: %{build} -o %t.out // RUN: %{l0_leak_check} %{run} %t.out diff --git a/sycl/test-e2e/KernelCompiler/sycl_basic.cpp b/sycl/test-e2e/KernelCompiler/sycl_basic.cpp index 5c212ee0d843d..5832d5ff50685 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_basic.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_basic.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_device_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // RUN: %{build} -o %t.out // RUN: %{l0_leak_check} %{run} %t.out diff --git a/sycl/test-e2e/KernelCompiler/sycl_cache.cpp b/sycl/test-e2e/KernelCompiler/sycl_cache.cpp index 1ec2f744b632d..405d97ce15e96 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_cache.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_cache.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_device_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // DEFINE: %{cache_vars} = env SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_TRACE=7 SYCL_CACHE_DIR=%t/cache_dir // DEFINE: %{max_cache_size} = SYCL_CACHE_MAX_SIZE=30000 // RUN: %{build} -o %t.out diff --git a/sycl/test-e2e/KernelCompiler/sycl_cache_pm.cpp b/sycl/test-e2e/KernelCompiler/sycl_cache_pm.cpp index c449c25647414..83b6f425ec308 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_cache_pm.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_cache_pm.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_device_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // -- Test the kernel_compiler with SYCL source. // RUN: %{build} -o %t.out diff --git a/sycl/test-e2e/KernelCompiler/sycl_context_error.cpp b/sycl/test-e2e/KernelCompiler/sycl_context_error.cpp index d111e77960e48..e72c733fdbf9f 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_context_error.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_context_error.cpp @@ -8,9 +8,6 @@ // REQUIRES: (opencl || level_zero) -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // RUN: %{build} -o %t.out // RUN: %{run-unfiltered-devices} %t.out diff --git a/sycl/test-e2e/KernelCompiler/sycl_device_globals.cpp b/sycl/test-e2e/KernelCompiler/sycl_device_globals.cpp index ceda7252369e5..2296aba1d9504 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_device_globals.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_device_globals.cpp @@ -9,8 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_device_allocations -// UNSUPPORTED: accelerator, opencl && gpu -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. // UNSUPPORTED: opencl && gpu // UNSUPPORTED-TRACKER: GSD-4287 diff --git a/sycl/test-e2e/KernelCompiler/sycl_export_registration.cpp b/sycl/test-e2e/KernelCompiler/sycl_export_registration.cpp index 789bab6223546..410f4f3e8d753 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_export_registration.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_export_registration.cpp @@ -8,9 +8,6 @@ // REQUIRES: (opencl || level_zero) -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // -- Test for a case where a kernel bundle is built that exports a symbol and // -- other kernel bundles that uses it are compiled/linked without it. These // -- cases should fail due to unresolved symbols, rather than picking up the diff --git a/sycl/test-e2e/KernelCompiler/sycl_include_paths.cpp b/sycl/test-e2e/KernelCompiler/sycl_include_paths.cpp index bf0d46b5800be..0cc50413dbad4 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_include_paths.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_include_paths.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_device_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // RUN: %{build} -o %t.out // RUN: %{run} %t.out %S | FileCheck %s --check-prefixes=CHECK,CHECK-NOCWD diff --git a/sycl/test-e2e/KernelCompiler/sycl_join.cpp b/sycl/test-e2e/KernelCompiler/sycl_join.cpp index 4ec0ec5c35604..33cf81dd6bdcb 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_join.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_join.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_shared_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // RUN: %{build} -o %t.out // RUN: %{run} %t.out // RUN: %{l0_leak_check} %{run} %t.out diff --git a/sycl/test-e2e/KernelCompiler/sycl_lifetimes.cpp b/sycl/test-e2e/KernelCompiler/sycl_lifetimes.cpp index 4ef1cb2d88e9c..94864926af4c4 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_lifetimes.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_lifetimes.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_device_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // RUN: %{build} -o %t.out // RUN: env SYCL_UR_TRACE=-1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s diff --git a/sycl/test-e2e/KernelCompiler/sycl_link.cpp b/sycl/test-e2e/KernelCompiler/sycl_link.cpp index 9ff9878e387ee..7187488d0f0dc 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_link.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_link.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_shared_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // -- Test for a simple linking case with source files compiled from SYCL source // -- at runtime. diff --git a/sycl/test-e2e/KernelCompiler/sycl_link_common_dep.cpp b/sycl/test-e2e/KernelCompiler/sycl_link_common_dep.cpp index 49d67205b8cd1..b1d66710c2fa2 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_link_common_dep.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_link_common_dep.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_shared_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // -- Test for linking where two kernels use the same imported symbols. // RUN: %{build} -o %t.out diff --git a/sycl/test-e2e/KernelCompiler/sycl_link_common_dep_optional_feature.cpp b/sycl/test-e2e/KernelCompiler/sycl_link_common_dep_optional_feature.cpp index 76fe85ce72fa9..4976a9066bc3e 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_link_common_dep_optional_feature.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_link_common_dep_optional_feature.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_shared_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // -- Test for linking where two kernels use the same imported symbols, but one // -- may not be supported on the device. diff --git a/sycl/test-e2e/KernelCompiler/sycl_link_export_conflict.cpp b/sycl/test-e2e/KernelCompiler/sycl_link_export_conflict.cpp index f9d6381e08b38..4f81eeb684fe4 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_link_export_conflict.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_link_export_conflict.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_shared_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // -- Test for a case where a kernel bundle with an exported symbol is compiled // -- before another kernel bundle using a different variant of the symbol. diff --git a/sycl/test-e2e/KernelCompiler/sycl_link_kernel_conflict.cpp b/sycl/test-e2e/KernelCompiler/sycl_link_kernel_conflict.cpp index 7fe9b0fd9db79..41b8c99c137a3 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_link_kernel_conflict.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_link_kernel_conflict.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_shared_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // -- Test for the linking of two kernels with conflicting definitions of // -- kernels with the same name. diff --git a/sycl/test-e2e/KernelCompiler/sycl_namespaces.cpp b/sycl/test-e2e/KernelCompiler/sycl_namespaces.cpp index fbe2a75daf617..89ad5f5e67c40 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_namespaces.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_namespaces.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_device_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // RUN: %{build} -o %t.out // RUN: %{l0_leak_check} %{run} %t.out diff --git a/sycl/test-e2e/KernelCompiler/sycl_overload.cpp b/sycl/test-e2e/KernelCompiler/sycl_overload.cpp index 97488d880993b..2e7b5fee432a5 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_overload.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_overload.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_device_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // RUN: %{build} -o %t.out // RUN: %{l0_leak_check} %{run} %t.out diff --git a/sycl/test-e2e/KernelCompiler/sycl_time_trace.cpp b/sycl/test-e2e/KernelCompiler/sycl_time_trace.cpp index 77a2d89bed123..492e755bbad99 100644 --- a/sycl/test-e2e/KernelCompiler/sycl_time_trace.cpp +++ b/sycl/test-e2e/KernelCompiler/sycl_time_trace.cpp @@ -7,8 +7,6 @@ //===----------------------------------------------------------------------===// // REQUIRES: (opencl || level_zero) -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: SYCL-RTC is not available for accelerator devices // RUN: %{build} -o %t.out // RUN: %{run} %t.out | FileCheck %s diff --git a/sycl/test-e2e/NewOffloadDriver/lit.local.cfg b/sycl/test-e2e/NewOffloadDriver/lit.local.cfg index 892e3cddea99e..dadf78f2122ec 100644 --- a/sycl/test-e2e/NewOffloadDriver/lit.local.cfg +++ b/sycl/test-e2e/NewOffloadDriver/lit.local.cfg @@ -1,7 +1,5 @@ import platform -config.unsupported_features += ['accelerator'] - config.substitutions.append( ("%{embed-ir}", "%if target-amd || target-nvidia %{ -fsycl-embed-ir %}") ) diff --git a/sycl/test-e2e/ProfilingTag/in_order_profiling_queue.cpp b/sycl/test-e2e/ProfilingTag/in_order_profiling_queue.cpp index 53b193744a80b..8904335a60a04 100644 --- a/sycl/test-e2e/ProfilingTag/in_order_profiling_queue.cpp +++ b/sycl/test-e2e/ProfilingTag/in_order_profiling_queue.cpp @@ -21,10 +21,6 @@ // UNSUPPORTED: cuda // UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/14053 -// FPGA emulator seems to return unexpected start time for the fallback barrier. -// UNSUPPORTED: accelerator -// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/14315 - #include "common.hpp" int main() { diff --git a/sycl/test-e2e/ProfilingTag/profiling_queue.cpp b/sycl/test-e2e/ProfilingTag/profiling_queue.cpp index 297b1ef294b5a..f33e6a93c2ef6 100644 --- a/sycl/test-e2e/ProfilingTag/profiling_queue.cpp +++ b/sycl/test-e2e/ProfilingTag/profiling_queue.cpp @@ -16,10 +16,6 @@ // UNSUPPORTED: hip // UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/12904 -// FPGA emulator seems to return unexpected start time for the fallback barrier. -// UNSUPPORTED: accelerator -// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/14315 - // Flaky on CUDA // UNSUPPORTED: cuda // UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/14053 diff --git a/sycl/test-e2e/Regression/get_subgroup_sizes.cpp b/sycl/test-e2e/Regression/get_subgroup_sizes.cpp index f076d18494244..9779c1393015b 100644 --- a/sycl/test-e2e/Regression/get_subgroup_sizes.cpp +++ b/sycl/test-e2e/Regression/get_subgroup_sizes.cpp @@ -1,8 +1,7 @@ -// UNSUPPORTED: accelerator -// TODO: FPGAs currently report `sub_group_sizes` as non-empty list, -// despite not having extension `cl_intel_required_subgroup_size` -// UNSUPPORTED: cuda || hip -// TODO: Similar issue to FPGAs +// REQUIRES: opencl || level_zero +// Test assumes that the SYCL 2020 deprecated info::device::extensions query +// returns a string with cl_intel_required_subgroup_size, while that is only +// really guaranteed by OpenCL. Coincidentally it also works this way for L0. // RUN: %{build} -Wno-error=deprecated-declarations -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/SYCLBIN/link_rtc_input.cpp b/sycl/test-e2e/SYCLBIN/link_rtc_input.cpp index b10dc73d9014e..9da685a627811 100644 --- a/sycl/test-e2e/SYCLBIN/link_rtc_input.cpp +++ b/sycl/test-e2e/SYCLBIN/link_rtc_input.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_shared_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // -- Test for linking where one kernel is runtime-compiled and one is compiled // -- to SYCLBIN. diff --git a/sycl/test-e2e/SYCLBIN/link_rtc_object.cpp b/sycl/test-e2e/SYCLBIN/link_rtc_object.cpp index cd86a6c0e6fde..9658ebb50fba2 100644 --- a/sycl/test-e2e/SYCLBIN/link_rtc_object.cpp +++ b/sycl/test-e2e/SYCLBIN/link_rtc_object.cpp @@ -9,9 +9,6 @@ // REQUIRES: (opencl || level_zero) // REQUIRES: aspect-usm_shared_allocations -// UNSUPPORTED: accelerator -// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there. - // -- Test for linking where one kernel is runtime-compiled and one is compiled // -- to SYCLBIN. diff --git a/sycl/test-e2e/XPTI/buffer/multiple_queues.cpp b/sycl/test-e2e/XPTI/buffer/multiple_queues.cpp index 6d32468c8c02a..94a0ec2a096a2 100644 --- a/sycl/test-e2e/XPTI/buffer/multiple_queues.cpp +++ b/sycl/test-e2e/XPTI/buffer/multiple_queues.cpp @@ -1,4 +1,4 @@ -// REQUIRES: xptifw, opencl, (cpu || accelerator) +// REQUIRES: xptifw, opencl, cpu // RUN: %build_collector // RUN: %{build} -o %t.out // RUN: env XPTI_TRACE_ENABLE=1 XPTI_FRAMEWORK_DISPATCHER=%xptifw_dispatcher XPTI_SUBSCRIBERS=%t_collector.dll %{run} %t.out | FileCheck %s From 998c44ed8b855555779b0df4a9d8f6540fc76a61 Mon Sep 17 00:00:00 2001 From: "Larsen, Steffen" Date: Tue, 1 Jul 2025 02:23:57 -0700 Subject: [PATCH 2/3] Update unsupported count Signed-off-by: Larsen, Steffen --- sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp b/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp index 878c26c8f26d5..6b7c44a0bd012 100644 --- a/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp +++ b/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp @@ -54,7 +54,7 @@ // tests to match the required format and in that case you should just update // (i.e. reduce) the number and the list below. // -// NUMBER-OF-UNSUPPORTED-WITHOUT-INFO: 236 +// NUMBER-OF-UNSUPPORTED-WITHOUT-INFO: 232 // // List of improperly UNSUPPORTED tests. // Remove the CHECK once the test has been properly UNSUPPORTED. From 157949e6f332839d8fbd635e5006dc074a3e100f Mon Sep 17 00:00:00 2001 From: Steffen Larsen Date: Wed, 2 Jul 2025 07:47:10 +0200 Subject: [PATCH 3/3] Update no-unsupported-without-info.cpp --- .../e2e_test_requirements/no-unsupported-without-info.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp b/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp index 6b7c44a0bd012..5f96ad7f8438b 100644 --- a/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp +++ b/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp @@ -140,7 +140,6 @@ // CHECK-NEXT: Graph/Explicit/interop-level-zero-launch-kernel.cpp // CHECK-NEXT: Graph/Explicit/memadvise.cpp // CHECK-NEXT: Graph/Explicit/prefetch.cpp -// CHECK-NEXT: Graph/Explicit/spec_constants_handler_api.cpp // CHECK-NEXT: Graph/Explicit/spec_constants_kernel_bundle_api.cpp // CHECK-NEXT: Graph/Explicit/work_group_size_prop.cpp // CHECK-NEXT: Graph/RecordReplay/buffer_copy_host2target.cpp @@ -154,7 +153,6 @@ // CHECK-NEXT: Graph/RecordReplay/interop-level-zero-launch-kernel.cpp // CHECK-NEXT: Graph/RecordReplay/memadvise.cpp // CHECK-NEXT: Graph/RecordReplay/prefetch.cpp -// CHECK-NEXT: Graph/RecordReplay/spec_constants_handler_api.cpp // CHECK-NEXT: Graph/RecordReplay/spec_constants_kernel_bundle_api.cpp // CHECK-NEXT: Graph/RecordReplay/work_group_size_prop.cpp // CHECK-NEXT: Graph/UnsupportedDevice/device_query.cpp @@ -258,8 +256,6 @@ // CHECK-NEXT: Regression/barrier_waitlist_with_interop_event.cpp // CHECK-NEXT: Regression/complex_global_object.cpp // CHECK-NEXT: Regression/event_destruction.cpp -// CHECK-NEXT: Regression/get_subgroup_sizes.cpp -// CHECK-NEXT: Regression/get_subgroup_sizes.cpp // CHECK-NEXT: Regression/invalid_reqd_wg_size_correct_exception.cpp // CHECK-NEXT: Regression/kernel_bundle_ignore_sycl_external.cpp // CHECK-NEXT: Regression/kernel_bundle_ignore_sycl_external.cpp