[OpenMP][SPIRV] `__builtin_trap` on the device doesn't cause a failure
Open
backend:SPIR-V
openmp:libomptarget
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
`./bin/llvm-lit runtimes/runtimes-bins/offload/test/spirv64-intel/offloading/assert.cpp`
runs without error while we expect the unconditional `__builtin_trap` in the device code to cause a crash.
Contributor guide
Research direction
Run ./bin/llvm-lit runtimes/runtimes-bins/offload/test/spirv64-intel/offloading/assert.cpp and inspect the referenced assert.cpp test and its device-code setup. Trace why the unconditional __builtin_trap does not produce the expected failure. Done means the test reliably reports the device failure instead of completing without error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100