Skip to content

DX11 and SYCL Bindless images interoperability tests failing on GEN12 #22148

@lbushi25

Description

@lbushi25

Describe the bug

The tests read_write_unsampled_semaphore.cpp and read_write_unsampled.cpp are failing on Windows GEN12 Level Zero.

# RUN: at line 6
  D:\github\actions-runner\_work\llvm\llvm\build-e2e\bindless_images\dx11_interop\Output\read_write_unsampled_semaphore.cpp.tmp.out
  # executed command: 'D:\github\actions-runner\_work\llvm\llvm\build-e2e\bindless_images\dx11_interop\Output\read_write_unsampled_semaphore.cpp.tmp.out'
  # .---command stdout------------
  # | Initialized D3D adapter: Intel(R) Iris(R) Xe Graphics
  # `-----------------------------
  # error: command failed with exit status: 0xc0000409

To reproduce

clang++ -fsycl -ld3d11 -ldxgi read_write_unsampled_semaphore.cpp
./a.exe

Environment

  • OS: Windows
  • Target device and vendor: GEN12
  • DPC++ version: a1ffe0e
  • Dependencies version:
<LOADER>[INFO]: loaded adapter 0x00007FFFC7C90000: D:\github\actions-runner\_work\llvm\llvm\install\bin\ur_adapter_level_zero.dll
<LOADER>[INFO]: loaded adapter 0x00007FFFC7B30000: D:\github\actions-runner\_work\llvm\llvm\install\bin\ur_adapter_level_zero_v2.dll
<LOADER>[INFO]: loaded adapter 0x00007FFFCC480000: D:\github\actions-runner\_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.34728]
[opencl:gpu][opencl:0] Intel(R) OpenCL Graphics, Intel(R) Iris(R) Xe Graphics OpenCL 3.0 NEO  [32.0.101.7084]
[opencl:cpu][opencl:1] Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2025.20.10.0.10_160000]

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.34728
        UUID              : 8680499a-0100-0000-0002-000000000000
        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_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_oneapi_native_assert ext_intel_gpu_hw_threads_per_eu ext_intel_free_memory ext_intel_device_id ext_intel_memory_clock_rate ext_intel_memory_bus_width ext_intel_legacy_image ext_oneapi_external_memory_import ext_oneapi_external_semaphore_import ext_intel_esimd ext_oneapi_fragment ext_oneapi_chunk ext_oneapi_tangle ext_oneapi_limited_graph ext_oneapi_private_alloca ext_oneapi_bindless_sampled_image_fetch_1d_usm ext_oneapi_bindless_sampled_image_fetch_1d 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_oneapi_async_memory_alloc ext_intel_device_info_luid ext_intel_device_info_node_mask ext_oneapi_exportable_device_mem ext_oneapi_clock_sub_group ext_oneapi_is_integrated_gpu ext_intel_xe_stack_count ext_intel_xe_regions_per_stack ext_intel_xe_clusters_per_region ext_intel_xe_cores_per_cluster ext_intel_eus_per_xe_core ext_intel_max_lanes_per_hw_thread
        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.7084
        UUID              : 8680499a-0100-0000-0002-000000000000
        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_intel_device_id ext_intel_legacy_image ext_intel_esimd ext_oneapi_fragment ext_oneapi_chunk ext_oneapi_tangle ext_oneapi_private_alloca ext_oneapi_atomic16 ext_oneapi_virtual_functions ext_intel_device_info_luid ext_intel_device_info_node_mask ext_oneapi_is_integrated_gpu
        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.20.10.0.10_160000
        UUID              : 8680c106-0800-bffb-fa7f-fffbebbf0000
        DeviceID          : 526017
        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 atomic64 ext_intel_device_info_uuid ext_oneapi_srgb ext_oneapi_native_assert ext_intel_gpu_hw_threads_per_eu ext_intel_device_id ext_intel_legacy_image ext_oneapi_fragment ext_oneapi_chunk ext_oneapi_tangle ext_oneapi_limited_graph ext_oneapi_private_alloca ext_oneapi_atomic16 ext_oneapi_virtual_functions ext_intel_device_info_node_mask ext_oneapi_clock_sub_group ext_oneapi_clock_work_group ext_oneapi_clock_device
        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.34728]
accelerator_selector()  : No device of requested type available.
cpu_selector()          : cpu, Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2025.20.10.0.10_160000]
gpu_selector()          : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.6.34728]
custom_selector(gpu)    : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.6.34728]
custom_selector(cpu)    : cpu, Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2025.20.10.0.10_160000]
custom_selector(acc)    : No device of requested type available.
<LOADER>[INFO]: unloaded adapter 0x00007FFFC7C90000
<LOADER>[INFO]: unloaded adapter 0x00007FFFC7B30000
<LOADER>[INFO]: unloaded adapter 0x00007FFFCC480000
<LOADER>[INFO]: ---> urLoaderTearDown() -> UR_RESULT_SUCCESS

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions