Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic/parallel_for_range_roundup.cpp Flaky failing on AMD in precommit CI #17077

Open
ayylol opened this issue Feb 19, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ayylol
Copy link
Contributor

ayylol commented Feb 19, 2025

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
                       ^
<stdin>:22:55: note: scanning from here
parallel_for range adjusted at dim 0 from 1500 to 1504
                                                      ^

Input file: <stdin>
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant