Adapters/level_zero/device_scope_events.cpp fail on Win Gen12
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
### Describe the bug
Failure may be sporadic
```
-- Testing: 2445 of 2447 tests, 8 workers --
FAIL: SYCL :: Adapters/level_zero/device_scope_events.cpp (33 of 2445)
******************** TEST 'SYCL :: Adapters/level_zero/device_scope_events.cpp' FAILED ********************
Exit Code: 3221226505
Command Output (stdout):
--
# RUN: at line 5
D:/github/_work/llvm/llvm/install/bin/clang++.exe -Werror -fsycl -fsycl-targets=spir64 D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Adapters\level_zero\device_scope_events.cpp -o D:\github\_work\llvm\llvm\build-e2e\Adapters\level_zero\Output\device_scope_events.cpp.tmp.out
# executed command: D:/github/_work/llvm/llvm/install/bin/clang++.exe -Werror -fsycl -fsycl-targets=spir64 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Adapters\level_zero\device_scope_events.cpp' -o 'D:\github\_work\llvm\llvm\build-e2e\Adapters\level_zero\Output\device_scope_events.cpp.tmp.out'
# RUN: at line 6
env UR_L0_USE_IMMEDIATE_COMMANDLISTS=0 UR_L0_DEVICE_SCOPE_EVENTS=1 SYCL_UR_TRACE=2 UR_L0_DEBUG=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu D:\github\_work\llvm\llvm\build-e2e\Adapters\level_zero\Output\device_scope_events.cpp.tmp.out 2>&1 | d:\github\_work\llvm\llvm\install\bin\filecheck.exe --check-prefixes=MODE1 D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Adapters\level_zero\device_scope_events.cpp
# executed command: env UR_L0_USE_IMMEDIATE_COMMANDLISTS=0 UR_L0_DEVICE_SCOPE_EVENTS=1 SYCL_UR_TRACE=2 UR_L0_DEBUG=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Adapters\level_zero\Output\device_scope_events.cpp.tmp.out'
# executed command: 'd:\github\_work\llvm\llvm\install\bin\filecheck.exe' --check-prefixes=MODE1 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Adapters\level_zero\device_scope_events.cpp'
# RUN: at line 7
env UR_L0_USE_IMMEDIATE_COMMANDLISTS=0 UR_L0_DEVICE_SCOPE_EVENTS=2 SYCL_UR_TRACE=2 UR_L0_DEBUG=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu D:\github\_work\llvm\llvm\build-e2e\Adapters\level_zero\Output\device_scope_events.cpp.tmp.out 2>&1 | d:\github\_work\llvm\llvm\install\bin\filecheck.exe --check-prefixes=MODE2 D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Adapters\level_zero\device_scope_events.cpp
# executed command: env UR_L0_USE_IMMEDIATE_COMMANDLISTS=0 UR_L0_DEVICE_SCOPE_EVENTS=2 SYCL_UR_TRACE=2 UR_L0_DEBUG=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Adapters\level_zero\Output\device_scope_events.cpp.tmp.out'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 0xc0000409
# executed command: 'd:\github\_work\llvm\llvm\install\bin\filecheck.exe' --check-prefixes=MODE2 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Adapters\level_zero\device_scope_events.cpp'
--
********************
```
https://github.com/intel/llvm/actions/runs/24390097955/job/71238046014
### To reproduce
1. Include a code snippet that is as short as possible
2. Specify the command which should be used to compile the program
3. Specify the command which should be used to launch the program
4. Indicate what is wrong and what was expected
### Environment
- OS: [e.g Windows/Linux]
- Target device and vendor: [e.g. Intel GPU]
- DPC++ version: [e.g. commit hash or output of `clang++ --version`]
- Dependencies version: [e.g. the output of `sycl-ls --verbose`]
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.