intel / intel/llvm

Assertion failure in event_impl.cpp when running tests on Integrated GPU

Open
#17,966 1 comment 0 reactions 0 assignees View on GitHub
bug confirmed syclcompat
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### Describe the bug

When running syclcompat/memory/memory_management_test1_usmnone.cpp I got:

```
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu D:\github\_work\llvm\llvm\build-e2e\syclcompat\memory\Output\memory_management_test1_usmnone.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\syclcompat\memory\Output\memory_management_test1_usmnone.cpp.tmp.out'
# .---command stdout------------
# | void test_memcpy()
# | void test_vecadd()
# | void test_memset()
# | void test_constant_memcpy()
# | void test_memcpy(sycl::queue &)
# | void test_vecadd(sycl::queue &)
# `-----------------------------
# .---command stderr------------
# | Assertion failed: Succeeded && "Unexpected state of event", file D:\github\actions-runner\_work\llvm\llvm\src\sycl\source\detail\event_impl.cpp, line 104
# `-----------------------------
# error: command failed with exit status: 0xc0000409
```

See: https://github.com/intel/llvm/actions/runs/14388998080/job/40352966594?pr=17696

### To reproduce

llvm-lit --param sycl_devices="level_zero:gpu" ./sycl/test-e2e/syclcompat/memory/memory_management_test1_usmnone.cpp

### Environment

- OS: Windows
- sycl-ls output:
```
[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]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.