llvm icon indicating copy to clipboard operation
llvm copied to clipboard

SPIRV-Backend: bfloat16_integeral_convesions.cpp link failure on opencl:cpu

Open jsji opened this issue 1 month ago • 0 comments

Describe the bug

FAIL: SYCL :: DeviceLib/imf/bfloat16_integeral_convesions.cpp (422 of 2424)
  ******************** TEST 'SYCL :: DeviceLib/imf/bfloat16_integeral_convesions.cpp' FAILED ********************
  Exit Code: -6
  
  Command Output (stdout):
  --
  # RUN: at line 2
  env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  /__w/llvm/llvm/build-e2e/DeviceLib/imf/Output/bfloat16_integeral_convesions.cpp.tmp1.out
  # executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/DeviceLib/imf/Output/bfloat16_integeral_convesions.cpp.tmp1.out
  # .---command stdout------------
  # | Running on Intel(R) Arc(TM) B580 Graphics
  # `-----------------------------
  # RUN: at line 2
  env ONEAPI_DEVICE_SELECTOR=opencl:gpu  /__w/llvm/llvm/build-e2e/DeviceLib/imf/Output/bfloat16_integeral_convesions.cpp.tmp1.out
  # executed command: env ONEAPI_DEVICE_SELECTOR=opencl:gpu /__w/llvm/llvm/build-e2e/DeviceLib/imf/Output/bfloat16_integeral_convesions.cpp.tmp1.out
  # .---command stdout------------
  # | Running on Intel(R) Arc(TM) B580 Graphics
  # `-----------------------------
  # RUN: at line 2
  env ONEAPI_DEVICE_SELECTOR=opencl:cpu  /__w/llvm/llvm/build-e2e/DeviceLib/imf/Output/bfloat16_integeral_convesions.cpp.tmp1.out
  # executed command: env ONEAPI_DEVICE_SELECTOR=opencl:cpu /__w/llvm/llvm/build-e2e/DeviceLib/imf/Output/bfloat16_integeral_convesions.cpp.tmp1.out
  # .---command stdout------------
  # | Running on 12th Gen Intel(R) Core(TM) i9-12900
  # `-----------------------------
  # .---command stderr------------
  # | terminate called after throwing an instance of 'sycl::_V1::exception'
  # |   what():  The program was built for 1 devices
  # | Build program log for '12th Gen Intel(R) Core(TM) i9-12900':
  # | Compilation started
  # | Compilation done
  # | Linking started
  # | Invalid record (Producer: 'Intel.oneAPI.DPCPP.Compiler_2025.3.0' Reader: 'Intel.oneAPI.DPCPP.Compiler_2025.3.0')Linking failed
  # | 
  # | 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                               0x00007806d3557d52
  # | 1  libsycl.so.9                               0x00007806d35553c2
  # | 2  libc.so.6                                  0x00007806d3033330
  # | 3  libc.so.6                                  0x00007806d308cb2c pthread_kill + 284
  # | 4  libc.so.6                                  0x00007806d303327e gsignal + 30
  # | 5  libc.so.6                                  0x00007806d30168ff abort + 223
  # | 6  libstdc++.so.6                             0x00007806d3904ff5
  # | 7  libstdc++.so.6                             0x00007806d391a0da
  # | 8  libstdc++.so.6                             0x00007806d3904a55 std::unexpected() + 0
  # | 9  libstdc++.so.6                             0x00007806d391a0c1
  # | 10 libsycl.so.9                               0x00007806d32a12bf
  # | 11 libsycl.so.9                               0x00007806d34d5e54
  # | 12 libsycl.so.9                               0x00007806d350fec7 sycl::_V1::handler::finalize() + 2967
  # | 13 libsycl.so.9                               0x00007806d348af4c
  # | 14 libsycl.so.9                               0x00007806d354ca65 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 bfloat16_integeral_convesions.cpp.tmp1.out 0x000000000045d7ca
  # | 16 bfloat16_integeral_convesions.cpp.tmp1.out 0x0000000000423a5c
  # | 17 bfloat16_integeral_convesions.cpp.tmp1.out 0x0000000000407f9c
  # | 18 bfloat16_integeral_convesions.cpp.tmp1.out 0x0000000000404bcb
  # | 19 libc.so.6                                  0x00007806d30181ca
  # | 20 libc.so.6                                  0x00007806d301828b __libc_start_main + 139
  # | 21 bfloat16_integeral_convesions.cpp.tmp1.out 0x0000000000404715
  # `-----------------------------
  # error: command failed with exit status: -6

To reproduce

https://github.com/intel/llvm/pull/20851 checkout llvmspirv_pulldown if it is not yet merged, use sycl if it is merged. remove XFAIL in the test.

Environment

No response

Additional context

No response

jsji avatar Dec 08 '25 14:12 jsji