intel / intel/llvm

Basic/parallel_for_range_roundup.cpp fails sporadically on Windows BMG

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

Description

### Describe the bug

Basic/parallel_for_range_roundup.cpp has been observed to fail on Windows BMG in CI (for example https://github.com/intel/llvm/actions/runs/19928913250/job/57137636805)

```
******************** TEST 'SYCL :: Basic/parallel_for_range_roundup.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu D:\github\_work\llvm\llvm\build-e2e\Basic\Output\parallel_for_range_roundup.cpp.tmp1.out | d:\github\_work\llvm\llvm\install\bin\filecheck.exe D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Basic\parallel_for_range_roundup.cpp --check-prefix=CHECK-DEFAULT
# executed command: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Basic\Output\parallel_for_range_roundup.cpp.tmp1.out'
# executed command: 'd:\github\_work\llvm\llvm\install\bin\filecheck.exe' 'D:\github\_work\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 ONEAPI_DEVICE_SELECTOR=level_zero:gpu D:\github\_work\llvm\llvm\build-e2e\Basic\Output\parallel_for_range_roundup.cpp.tmp2.out | d:\github\_work\llvm\llvm\install\bin\filecheck.exe D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Basic\parallel_for_range_roundup.cpp --check-prefix=CHECK-DEFAULT
# executed command: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Basic\Output\parallel_for_range_roundup.cpp.tmp2.out'
# executed command: 'd:\github\_work\llvm\llvm\install\bin\filecheck.exe' 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Basic\parallel_for_range_roundup.cpp' --check-prefix=CHECK-DEFAULT
# RUN: at line 9
env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu D:\github\_work\llvm\llvm\build-e2e\Basic\Output\parallel_for_range_roundup.cpp.tmp3.out | d:\github\_work\llvm\llvm\install\bin\filecheck.exe D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Basic\parallel_for_range_roundup.cpp --check-prefix=CHECK-EXP
# executed command: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Basic\Output\parallel_for_range_roundup.cpp.tmp3.out'
# executed command: 'd:\github\_work\llvm\llvm\install\bin\filecheck.exe' 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Basic\parallel_for_range_roundup.cpp' --check-prefix=CHECK-EXP
# RUN: at line 12
env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu D:\github\_work\llvm\llvm\build-e2e\Basic\Output\parallel_for_range_roundup.cpp.tmp4.out | d:\github\_work\llvm\llvm\install\bin\filecheck.exe D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Basic\parallel_for_range_roundup.cpp --check-prefix=CHECK-EXP
# executed command: env SYCL_PARALLEL_FOR_RANGE_ROUNDING_TRACE=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Basic\Output\parallel_for_range_roundup.cpp.tmp4.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' 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Basic\parallel_for_range_roundup.cpp' --check-prefix=CHECK-EXP
# .---command stderr------------
# | D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Basic\parallel_for_range_roundup.cpp:423:20: error: CHECK-EXP-NEXT: expected string not found in input
# | // CHECK-EXP-NEXT: Counter = 8448
# | ^
# | :73:51: note: scanning from here
# | parallel_for range adjusted at dim 1 from 33 to 48
# | ^
# | :74:1: note: possible intended match here
# | Abort was called at 73 line in file:
# | ^
# |
# | Input file:
# | Check file: D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Basic\parallel_for_range_roundup.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 68: parallel_for range adjusted at dim 1 from 33 to 48
# | 69: Size seen by user at Dim 0 = 256
# | 70: Size seen by user at Dim 1 = 33
# | 71: Counter = 8448
# | 72: Correct kernel indexes used
# | 73: parallel_for range adjusted at dim 1 from 33 to 48
# | next:423'0 X error: no match found
# | 74: Abort was called at 73 line in file:
# | next:423'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:423'1 ? possible intended match
# | 75:
# | next:423'0 ~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--
```

### 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

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.