Basic/host_task_depends.cpp sporadically fails on native_cpu
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
### Describe the bug
See https://github.com/intel/llvm/actions/runs/27990882344/job/82845826148?pr=22326
```
# RUN: at line 2
/__w/llvm/llvm/toolchain/bin/clang++ -Werror -fsycl -fsycl-targets=native_cpu /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/host_task_depends.cpp -o /__w/llvm/llvm/build-e2e/Basic/Output/host_task_depends.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fsycl -fsycl-targets=native_cpu /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/host_task_depends.cpp -o /__w/llvm/llvm/build-e2e/Basic/Output/host_task_depends.cpp.tmp.out
# note: command had no output on stdout or stderr
# RUN: at line 3
env ONEAPI_DEVICE_SELECTOR=native_cpu:cpu /__w/llvm/llvm/build-e2e/Basic/Output/host_task_depends.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=native_cpu:cpu /__w/llvm/llvm/build-e2e/Basic/Output/host_task_depends.cpp.tmp.out
# note: command had no output on stdout or stderr
# error: command failed with exit status: -11
```
### 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
Research direction
Start with llvm/sycl/test-e2e/Basic/host_task_depends.cpp and reproduce the reported compile-and-run commands with ONEAPI_DEVICE_SELECTOR=native_cpu:cpu. Inspect the test and its native_cpu execution path to determine why it exits with status -11. Done means the test runs reliably without the sporadic crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100