Basic/image/image_accessor_range.cpp failing on Linux BMG SPIR-V Backend
- 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/actions/runs/27656715024/job/81794114208
```
FAIL: SYCL :: Basic/image/image_accessor_range.cpp (1347 of 2515)
******************** TEST 'SYCL :: Basic/image/image_accessor_range.cpp' FAILED ********************
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 8
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/Basic/image/Output/image_accessor_range.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/Basic/image/Output/image_accessor_range.cpp.tmp.out
# .---command stderr------------
# | terminate called after throwing an instance of 'sycl::_V1::exception'
# | what(): The program was built for 1 devices
# | Build program log for 'Intel(R) Arc(TM) B580 Graphics':
# |
# | error: undefined reference to `_Z22__spirv_ImageQuerySizeIi14ocl_image1d_roET_T0_'
# | in function: 'int __spirv_ImageQuerySize(ocl_image1d_ro)' called by kernel: 'typeinfo name for try_1D(sycl::_V1::queue&)::'lambda'(sycl::_V1::handler&)::operator()(sycl::_V1::handler&) const::'lambda'(sycl::_V1::nd_item<1>)'
# |
# | error: backend compiler failed build.
# |
# | error: undefined reference to `_Z22__spirv_ImageQuerySizeIDv2_i14ocl_image2d_roET_T0_'
# | in function: 'int vector[2] __spirv_ImageQuerySize(ocl_image2d_ro)' called by kernel: 'typeinfo name for try_2D(sycl::_V1::queue&)::'lambda'(sycl::_V1::handler&)::operator()(sycl::_V1::handler&) const::'lambda'(sycl::_V1::nd_item<2>)'
# |
# | error: backend compiler failed build.
# |
# | error: undefined reference to `_Z22__spirv_ImageQuerySizeIDv3_i14ocl_image3d_roET_T0_'
# | in function: 'int vector[3] __spirv_ImageQuerySize(ocl_image3d_ro)' called by kernel: 'typeinfo name for try_3D(sycl::_V1::queue&)::'lambda'(sycl::_V1::handler&)::operator()(sycl::_V1::handler&) const::'lambda'(sycl::_V1::nd_item<3>)'
# |
# | error: backend compiler failed build.
# |
# | Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
# | 0 libsycl.so.9 0x00007880909818d2
# | 1 libsycl.so.9 0x000078809097ee02
# | 2 libc.so.6 0x000078808fe9e330
# | 3 libc.so.6 0x000078808fef7b2c pthread_kill + 284
# | 4 libc.so.6 0x000078808fe9e27e gsignal + 30
# | 5 libc.so.6 0x000078808fe818ff abort + 223
# | 6 libstdc++.so.6 0x0000788090227ff5
# | 7 libstdc++.so.6 0x000078809023d0da
# | 8 libstdc++.so.6 0x0000788090227a55 std::unexpected() + 0
# | 9 libstdc++.so.6 0x000078809023d0c1
# | 10 libsycl.so.9 0x00007880904cbe7b
# | 11 libsycl.so.9 0x0000788090738764
# | 12 libsycl.so.9 0x00007880907715e6 sycl::_V1::handler::finalize() + 3398
# | 13 libsycl.so.9 0x00007880906edc74
# | 14 libsycl.so.9 0x00007880907ae3c5 sycl::_V1::queue::submit_with_event_impl(sycl::_V1::detail::type_erased_cgfo_ty const&, sycl::_V1::detail::_V1::SubmissionInfo const&, sycl::_V1::detail::code_location const&, bool) const + 53
# | 15 image_accessor_range.cpp.tmp.out 0x000000000040b45e
# | 16 image_accessor_range.cpp.tmp.out 0x0000000000403a51
# | 17 image_accessor_range.cpp.tmp.out 0x000000000040381e
# | 18 image_accessor_range.cpp.tmp.out 0x000000000040475d
# | 19 libc.so.6 0x000078808fe831ca
# | 20 libc.so.6 0x000078808fe8328b __libc_start_main + 139
# | 21 image_accessor_range.cpp.tmp.out 0x00000000004035c5
# `-----------------------------
# error: command failed with exit status: -6
```
### 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
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.