SYCL E2E test BFloat16/bfloat16_vec.cpp failing for AMD backend on PR with unrelated changes
- 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/pull/14262 is the PR where this error is seen.
Error report is here:
https://github.com/intel/llvm/actions/runs/9687616520/job/26738219382?pr=14262
`
2024-06-27T04:04:13.7957983Z /__w/llvm/llvm/toolchain/bin//clang++ -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/BFloat16/bfloat16_vec.cpp -fpreview-breaking-changes -o /__w/llvm/llvm/build-e2e/BFloat16/Output/bfloat16_vec.cpp.tmp2.out
2024-06-27T04:04:13.7959989Z # executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/BFloat16/bfloat16_vec.cpp -fpreview-breaking-changes -o /__w/llvm/llvm/build-e2e/BFloat16/Output/bfloat16_vec.cpp.tmp2.out
2024-06-27T04:04:13.7961301Z # note: command had no output on stdout or stderr
2024-06-27T04:04:13.7961642Z # RUN: at line 16
2024-06-27T04:04:13.7962230Z env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/BFloat16/Output/bfloat16_vec.cpp.tmp2.out
2024-06-27T04:04:13.7962961Z # executed command: env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/BFloat16/Output/bfloat16_vec.cpp.tmp2.out
2024-06-27T04:04:13.7963475Z # .---command stdout------------
2024-06-27T04:04:13.7963688Z # | === vec ===
2024-06-27T04:04:13.7963907Z # | --- ON HOST ---
2024-06-27T04:04:13.7964108Z # | iniitialization : 2 float: 2
2024-06-27T04:04:13.7964341Z # | addition. ref: 8 vec: 8
2024-06-27T04:04:13.7964590Z # | subtraction. ref: -4 vec: -4
2024-06-27T04:04:13.7964825Z # | multiplication. ref: 12 vec: 12
2024-06-27T04:04:13.7965074Z # | division. ref: 0.333984 vec: 0.333984
2024-06-27T04:04:13.7965376Z # | float conv. ref: 2 vec: 2
2024-06-27T04:04:13.7965595Z # | bf16 conv. ref: 2 vec: 2
2024-06-27T04:04:13.7965830Z # | --- ON DEVICE ---
2024-06-27T04:04:13.7966023Z # | iniitialization : 2 float: 2
2024-06-27T04:04:13.7966251Z # | addition. ref: 8 vec: 8
2024-06-27T04:04:13.7966501Z # | subtraction. ref: -4 vec: -4
2024-06-27T04:04:13.7966744Z # | multiplication. ref: 12.0312 vec: 12.0312
2024-06-27T04:04:13.7967031Z # | division. ref: 0.3344 vec: 0.3344
2024-06-27T04:04:13.7967289Z # | float conv. ref: 2 vec: 2
2024-06-27T04:04:13.7967509Z # | bf16 conv. ref: 2 vec: 2
2024-06-27T04:04:13.7967739Z # |
2024-06-27T04:04:13.7967885Z # | === vec ===
2024-06-27T04:04:13.7968115Z # | --- ON HOST ---
2024-06-27T04:04:13.7968306Z # | init ref: 2 ref1: 3.32812
2024-06-27T04:04:13.7968552Z # | float0: 2 float1: 3.32812
2024-06-27T04:04:13.7968895Z # | + ref0: 8 ref1: 10
2024-06-27T04:04:13.7969086Z # | add[0]: 8 add[1]: 10
2024-06-27T04:04:13.7969347Z # | - ref0: -4 ref1: -3.32812
2024-06-27T04:04:13.7969573Z # | sub[0]: -4 sub[1]: -3.32812
2024-06-27T04:04:13.7969803Z # | * ref0: 12 ref1: 22.125
2024-06-27T04:04:13.7970005Z # | mul[0]: 12 mul[1]: 22.125
2024-06-27T04:04:13.7970205Z # | / ref0: 0.333984 ref1: 0.5
2024-06-27T04:04:13.7970413Z # | div[0]: 0.333984 div[1]: 0.5
2024-06-27T04:04:13.7970633Z # | Float convert ref0: 2 ref1: 3.32812
2024-06-27T04:04:13.7970875Z # | convert[0]: 2 convert[1]: 3.32812
2024-06-27T04:04:13.7971123Z # | bf16 convert[0]: 2 bf16 convert[1]: 3.32812
2024-06-27T04:04:13.7971391Z # | --- ON DEVICE ---
2024-06-27T04:04:13.7971575Z # | init ref: 2 ref1: 3.3281
2024-06-27T04:04:13.7971789Z # | float0: 2 float1: 3.3281
2024-06-27T04:04:13.7971996Z # | + ref0: 8 ref1: 10
2024-06-27T04:04:13.7972178Z # | add[0]: 8 add[1]: 10
2024-06-27T04:04:13.7972393Z # | - ref0: -4 ref1: -3.3281
2024-06-27T04:04:13.7972624Z # | sub[0]: -4 sub[1]: -3.3281
2024-06-27T04:04:13.7972823Z # | * ref0: 12.0312 ref1: 22.1875
2024-06-27T04:04:13.7973040Z # | mul[0]: 12.0312 mul[1]: 22.1875
2024-06-27T04:04:13.7973254Z # | / ref0: 0.3344 ref1: 0.5
2024-06-27T04:04:13.7973448Z # | div[0]: 0.3344 div[1]: 0.5
2024-06-27T04:04:13.7973663Z # | Float convert ref0: 2 ref1: 3.3281
2024-06-27T04:04:13.7973908Z # | convert[0]: 2 convert[1]: 3.3281
2024-06-27T04:04:13.7974146Z # | bf16 convert[0]: 2 bf16 convert[1]: 3.3281
2024-06-27T04:04:13.7974386Z # | Test Passed.
2024-06-27T04:04:13.7974576Z # `-----------------------------
2024-06-27T04:04:13.7974837Z # error: command failed with exit status: -11
`
### 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.