llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[E2E] Basic/kernel_info.cpp and GroupAlgorithm/root_group.cpp XPASS'd on OCL CPU in SYCL Nightly

Open uditagarwal97 opened this issue 1 year ago • 4 comments

Describe the bug

Run: https://github.com/intel/llvm/actions/runs/9019645870/job/24786062097

024-05-09T17:42:25.8702355Z XPASS: SYCL :: Basic/kernel_info.cpp (274 of 2025)
2024-05-09T17:42:25.8702739Z ******************** TEST 'SYCL :: Basic/kernel_info.cpp' FAILED ********************
2024-05-09T17:42:25.8702998Z Exit Code: 0
2024-05-09T17:42:25.8703080Z 
2024-05-09T17:42:25.8703144Z Command Output (stdout):
2024-05-09T17:42:25.8703305Z --
2024-05-09T17:42:25.8703422Z # RUN: at line 1
2024-05-09T17:42:25.8704031Z /__w/llvm/llvm/toolchain/bin//clang++   -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/kernel_info.cpp -o /__w/llvm/llvm/build-e2e/Basic/Output/kernel_info.cpp.tmp.out
2024-05-09T17:42:25.8705068Z # executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/kernel_info.cpp -o /__w/llvm/llvm/build-e2e/Basic/Output/kernel_info.cpp.tmp.out
2024-05-09T17:42:25.8705683Z # note: command had no output on stdout or stderr
2024-05-09T17:42:25.8705895Z # RUN: at line 2
2024-05-09T17:42:25.8706376Z env ONEAPI_DEVICE_SELECTOR=opencl:cpu  /__w/llvm/llvm/build-e2e/Basic/Output/kernel_info.cpp.tmp.out
2024-05-09T17:42:25.8706940Z # executed command: env ONEAPI_DEVICE_SELECTOR=opencl:cpu /__w/llvm/llvm/build-e2e/Basic/Output/kernel_info.cpp.tmp.out
2024-05-09T17:42:25.8707335Z # note: command had no output on stdout or stderr
2024-05-09T17:42:25.8707493Z 
2024-05-09T17:42:25.8707553Z --
2024-05-09T17:42:25.8707618Z 
2024-05-09T17:42:25.8707667Z ********************
2024-05-09T17:42:25.8707877Z XPASS: SYCL :: GroupAlgorithm/root_group.cpp (1177 of 2025)
2024-05-09T17:42:25.8712295Z ******************** TEST 'SYCL :: GroupAlgorithm/root_group.cpp' FAILED ********************
2024-05-09T17:42:25.8712641Z Exit Code: 0
2024-05-09T17:42:25.8712755Z 
2024-05-09T17:42:25.8712817Z Command Output (stdout):
2024-05-09T17:42:25.8712987Z --
2024-05-09T17:42:25.8713119Z # RUN: at line 3
2024-05-09T17:42:25.8713802Z /__w/llvm/llvm/toolchain/bin//clang++   -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/root_group.cpp -I . -o /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/root_group.cpp.tmp.out
2024-05-09T17:42:25.8714971Z # executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/root_group.cpp -I . -o /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/root_group.cpp.tmp.out
2024-05-09T17:42:25.8715788Z # note: command had no output on stdout or stderr
2024-05-09T17:42:25.8716028Z # RUN: at line 4
2024-05-09T17:42:25.8716468Z env ONEAPI_DEVICE_SELECTOR=opencl:cpu  /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/root_group.cpp.tmp.out
2024-05-09T17:42:25.8717092Z # executed command: env ONEAPI_DEVICE_SELECTOR=opencl:cpu /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/root_group.cpp.tmp.out
2024-05-09T17:42:25.8717520Z # note: command had no output on stdout or stderr

To reproduce

DPC++ commit: 4b9819f0b6bf50da03ddc9987918c8d6e09ee757

Environment

Backend and Device: OpenCL CPU

Additional context

No response

uditagarwal97 avatar May 10 '24 03:05 uditagarwal97

@sarnex @JackAKirk FYI.

uditagarwal97 avatar May 10 '24 04:05 uditagarwal97

It might just be a coincidence that this is a amd cpu, but for 22.04 amd also requires gcc12 for rocm: https://github.com/ROCm/ROCm/issues/2949. In any case the timing suggests it was caused by the uplift to build with gcc12: https://github.com/intel/llvm/pull/13619

JackAKirk avatar May 10 '24 13:05 JackAKirk

Thanks, I'll fix this.

sarnex avatar May 10 '24 15:05 sarnex

@JackAKirk Assigning to you for now, if it still fails after reverting gcc12 please assign back to me.

sarnex avatar May 10 '24 15:05 sarnex

@JackAKirk Assigning to you for now, if it still fails after reverting gcc12 please assign back to me.

@sarnex I've signed it back to you. Everything is now working except the Xpasses so I think it is safe to merge your PR.

JackAKirk avatar May 13 '24 09:05 JackAKirk

Got it, thx

sarnex avatar May 13 '24 14:05 sarnex