Skip to content

SYCL :: Scheduler/MultipleDevices.cpp sporadically fails on Windows Gen12, level zero #18142

Open
@uditagarwal97

Description

@uditagarwal97

Describe the bug

https://github.com/intel/llvm/actions/runs/14599446035/job/40958522770?pr=18108

FAIL: SYCL :: Scheduler/MultipleDevices.cpp (1387 of 2335)
******************** TEST 'SYCL :: Scheduler/MultipleDevices.cpp' FAILED ********************
Exit Code: 3221226505

Command Output (stdout):
--
# RUN: at line 2
D:\github\_work\llvm\llvm\build-e2e\Scheduler\Output\MultipleDevices.cpp.tmp.out
# executed command: 'D:\github\_work\llvm\llvm\build-e2e\Scheduler\Output\MultipleDevices.cpp.tmp.out'
# .---command stdout------------
# | Result:
# | Good computation!
# `-----------------------------
# .---command stderr------------
# | Assertion failed: Succeeded && "Unexpected state of event", file D:\github\_work\llvm\llvm\src\sycl\source\detail\event_impl.cpp, line 104
# `-----------------------------
# error: command failed with exit status: 0xc0000409

--

********************

To reproduce

Environment

  • OS: Windows
  • Target device and vendor: Gen12
  • Dependencies version:
<LOADER>[INFO]: The adapter 'ur_adapter_level_zero_v2.dll' is skipped because UR_LOADER_USE_LEVEL_ZERO_V2 or SYCL_UR_USE_LEVEL_ZERO_V2 is not set.
<LOADER>[INFO]: loaded adapter 0x00007FF87EFE0000: D:\github\_work\llvm\llvm\install\bin\ur_adapter_level_zero.dll
<LOADER>[INFO]: loaded adapter 0x00007FF885EF0000: D:\github\_work\llvm\llvm\install\bin\ur_adapter_opencl.dll
[level_zero:gpu][level_zero:0] Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.6.31896]
[opencl:gpu][opencl:0] Intel(R) OpenCL Graphics, Intel(R) Iris(R) Xe Graphics OpenCL 3.0 NEO  [32.0.101.6559]
[opencl:cpu][opencl:1] Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2025.19.3.0.17_230222]

Platforms: 3
Platform [#1]:
    Version  : 1.6
    Name     : Intel(R) oneAPI Unified Runtime over Level-Zero
    Vendor   : Intel(R) Corporation
    Devices  : 1
        Device [#0]:
        Type              : gpu
        Version           : 12.0.0
        Name              : Intel(R) Iris(R) Xe Graphics
        Vendor            : Intel(R) Corporation
        Driver            : 1.6.31896
        UUID              : 13412873154100002000000
        DeviceID          : 39[49](https://github.com/intel/llvm/actions/runs/14599446035/job/40958522770?pr=18108#step:13:50)7
        Num SubDevices    : 0
        Num SubSubDevices : 0
        Aspects           : gpu fp16 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations ext_intel_pci_address ext_intel_gpu_eu_count ext_intel_gpu_eu_simd_width ext_intel_gpu_slices ext_intel_gpu_subslices_per_slice ext_intel_gpu_eu_count_per_subslice atomic64 ext_intel_device_info_uuid ext_intel_gpu_hw_threads_per_eu ext_oneapi_cuda_async_barrier ext_intel_device_id ext_intel_memory_clock_rate ext_intel_memory_bus_width ext_intel_legacy_image ext_oneapi_external_memory_import ext_intel_esimd ext_oneapi_ballot_group ext_oneapi_fixed_size_group ext_oneapi_opportunistic_group ext_oneapi_tangle_group ext_oneapi_limited_graph ext_oneapi_private_alloca ext_oneapi_bindless_sampled_image_fetch_1d_usm ext_oneapi_bindless_sampled_image_fetch_2d_usm ext_oneapi_bindless_sampled_image_fetch_2d ext_oneapi_bindless_sampled_image_fetch_3d ext_oneapi_queue_profiling_tag ext_oneapi_virtual_mem ext_oneapi_image_array ext_oneapi_virtual_functions ext_intel_spill_memory_size ext_intel_current_clock_throttle_reasons ext_intel_power_limits ext_oneapi_async_memory_alloc
        info::device::sub_group_sizes: 8 16 32
        Architecture: intel_gpu_tgllp
Platform [#2]:
    Version  : OpenCL 3.0 
    Name     : Intel(R) OpenCL Graphics
    Vendor   : Intel(R) Corporation
    Devices  : 1
        Device [#0]:
        Type              : gpu
        Version           : OpenCL 3.0 NEO 
        Name              : Intel(R) Iris(R) Xe Graphics
        Vendor            : Intel(R) Corporation
        Driver            : 32.0.101.6559
        UUID              : 13412873154100002000000
        DeviceID          : 39497
        Num SubDevices    : 0
        Num SubSubDevices : 0
        Aspects           : gpu fp16 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations ext_intel_pci_address ext_intel_gpu_eu_count ext_intel_gpu_slices ext_intel_gpu_subslices_per_slice ext_intel_gpu_eu_count_per_subslice atomic64 ext_intel_device_info_uuid ext_oneapi_srgb ext_intel_gpu_hw_threads_per_eu ext_oneapi_cuda_async_barrier ext_intel_device_id ext_intel_legacy_image ext_intel_esimd ext_oneapi_ballot_group ext_oneapi_fixed_size_group ext_oneapi_opportunistic_group ext_oneapi_tangle_group ext_oneapi_private_alloca ext_oneapi_atomic16 ext_oneapi_virtual_functions
        info::device::sub_group_sizes: 8 16 32
        Architecture: intel_gpu_tgllp
Platform [#3]:
    Version  : OpenCL 3.0 WINDOWS
    Name     : Intel(R) OpenCL
    Vendor   : Intel(R) Corporation
    Devices  : 1
        Device [#1]:
        Type              : cpu
        Version           : OpenCL 3.0 (Build 0)
        Name              : 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
        Vendor            : Intel(R) Corporation
        Driver            : 2025.19.3.0.17_230222
        UUID              : 1341281936801912512[50](https://github.com/intel/llvm/actions/runs/14599446035/job/40958522770?pr=18108#step:13:51)12725525123519100
        DeviceID          : [52](https://github.com/intel/llvm/actions/runs/14599446035/job/40958522770?pr=18108#step:13:53)6017
        Num SubDevices    : 0
        Num SubSubDevices : 0
        Aspects           : cpu fp16 fp64 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations usm_system_allocations ext_intel_gpu_slices ext_intel_gpu_subslices_per_slice ext_intel_gpu_eu_count_per_subslice usm_atomic_host_allocations usm_atomic_shared_allocations atomic[64](https://github.com/intel/llvm/actions/runs/14599446035/job/40958522770?pr=18108#step:13:65) ext_intel_device_info_uuid ext_oneapi_srgb ext_oneapi_native_assert ext_intel_gpu_hw_threads_per_eu ext_oneapi_cuda_async_barrier ext_intel_device_id ext_intel_legacy_image ext_oneapi_ballot_group ext_oneapi_fixed_size_group ext_oneapi_opportunistic_group ext_oneapi_tangle_group ext_oneapi_private_alloca ext_oneapi_atomic16 ext_oneapi_virtual_functions
        info::device::sub_group_sizes: 4 8 16 32 64
        Architecture: x86_64
default_selector()      : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.6.31896]
accelerator_selector()  : No device of requested type available.
cpu_selector()          : cpu, Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-11[65](https://github.com/intel/llvm/actions/runs/14599446035/job/40958522770?pr=18108#step:13:66)G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2025.19.3.0.17_230222]
gpu_selector()          : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.6.31896]
custom_selector(gpu)    : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.6.31896]
custom_selector(cpu)    : cpu, Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2025.19.3.0.17_230222]
custom_selector(acc)    : No device of requested type available.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions