`Basic/parallel_for_range_roundup.cpp` Flaky failing on AMD in precommit CI
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
### Describe the bug
https://github.com/intel/llvm/actions/runs/13417864255/job/37485894575?pr=16953
```
FAIL: SYCL :: Basic/parallel_for_range_roundup.cpp (77 of 2262)
******************** TEST 'SYCL :: Basic/parallel_for_range_roundup.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 3: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env UR_HIP_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/Basic/Output/parallel_for_range_roundup.cpp.tmp1.out | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/parallel_for_range_roundup.cpp --check-prefix=CHECK-DEFAULT
+ env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env UR_HIP_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/Basic/Output/parallel_for_range_roundup.cpp.tmp1.out
+ /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/parallel_for_range_roundup.cpp --check-prefix=CHECK-DEFAULT
RUN: at line 6: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env UR_HIP_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/Basic/Output/parallel_for_range_roundup.cpp.tmp2.out | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/parallel_for_range_roundup.cpp --check-prefix=CHECK-DEFAULT
+ env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env UR_HIP_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/Basic/Output/parallel_for_range_roundup.cpp.tmp2.out
+ /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/parallel_for_range_roundup.cpp --check-prefix=CHECK-DEFAULT
terminate called after throwing an instance of 'rocr::AMD::hsa_exception'
what(): Signal handle is invalid.
/__w/llvm/llvm/llvm/sycl/test-e2e/Basic/parallel_for_range_roundup.cpp:230:24: error: CHECK-DEFAULT-NEXT: expected string not found in input
// CHECK-DEFAULT-NEXT: Counter = 3168000
^
:22:55: note: scanning from here
parallel_for range adjusted at dim 0 from 1500 to 1504
^
Input file:
Check file: /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/parallel_for_range_roundup.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
17: Size seen by user at Dim 0 = 1500
18: Size seen by user at Dim 1 = 33
19: Size seen by user at Dim 2 = 64
20: Counter = 3168000
21: Correct kernel indexes used
22: parallel_for range adjusted at dim 0 from 1500 to 1504
next:230 X error: no match found
>>>>>>
--
```
After rerunning the job, it passed.
### 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.