intel / intel/llvm

Matrix tests crashing when running on SPR CPU

Open
#17,079 9 comments 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

It turns out we weren't running our E2E tests targeting SPR CPUs in our CI. When trying to address that the following failures were uncovered (https://github.com/intel/llvm/actions/runs/13417907780/job/37485887703):

```
SYCL :: Matrix/SG32/element_wise_abc.cpp
SYCL :: Matrix/SG32/element_wise_all_ops.cpp
SYCL :: Matrix/SG32/element_wise_all_ops_int8.cpp
SYCL :: Matrix/SG32/element_wise_all_ops_int8_packed.cpp
SYCL :: Matrix/SG32/element_wise_all_sizes.cpp
SYCL :: Matrix/SG32/element_wise_ops.cpp
SYCL :: Matrix/SG32/joint_matrix_apply_bf16.cpp
SYCL :: Matrix/SG32/joint_matrix_apply_two_matrices.cpp
SYCL :: Matrix/SG32/joint_matrix_down_convert.cpp
SYCL :: Matrix/element_wise_abc.cpp
SYCL :: Matrix/element_wise_all_ops.cpp
SYCL :: Matrix/element_wise_all_ops_int8.cpp
SYCL :: Matrix/element_wise_all_ops_int8_packed.cpp
SYCL :: Matrix/element_wise_all_sizes.cpp
SYCL :: Matrix/element_wise_ops.cpp
SYCL :: Matrix/elemwise_irreg_size_ops_bf16.cpp
SYCL :: Matrix/get_coordinate_ops.cpp
SYCL :: Matrix/joint_matrix_apply_bf16.cpp
SYCL :: Matrix/joint_matrix_apply_two_matrices.cpp
SYCL :: Matrix/joint_matrix_down_convert.cpp
```

Also reproduced locally (at least for one, haven't verified for all), with the following error under debugger:
```
Thread 1 "element_wise_ab" received signal SIGSEGV, Segmentation fault.
0x00007fffe427c5b9 in SPIRV::SPIRVToLLVMDbgTran::transDebugScope(SPIRV::SPIRVInstruction const*) () from /rdrive/ref/opencl/runtime/linux/oclcpu/2024.18.10.0.08/libintelocl.so
```

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.