Skip to content

[E2E] Compression E2E tests failing on native_cpu and with preview-breaking changes #20397

@uditagarwal97

Description

@uditagarwal97

Describe the bug

Failures in:

sycl/test-e2e/DeviceLib/bfloat16_conversion_test_compress.cpp
sycl/test-e2e/DeviceLib/bfloat16_conversion_dlopen_test_compress.cpp
sycl/test-e2e/DeviceImageDependencies/dynamic_compress.cpp
sycl/test-e2e/Compression/compression_separate_compile.cpp
sycl/test-e2e/Compression/compression_aot.cpp

These tests were disabled in #20381

https://github.com/intel/llvm/actions/runs/18634795187/job/53124910906?pr=20381#step:17:2422

FAIL: SYCL :: Compression/compression_separate_compile.cpp (1842 of 1905)
  ******************** TEST 'SYCL :: Compression/compression_separate_compile.cpp' FAILED ********************
  Exit Code: -11
  
  Command Output (stdout):
  --
  # RUN: at line 8
  /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes  -fsycl -fsycl-targets=spir64_x86_64 -fsycl-host-compiler=clang++ -fsycl-host-compiler-options='-std=c++17 -Wno-attributes -Wno-deprecated-declarations -fPIC -DENABLE_KERNEL1' -DENABLE_KERNEL1 -c /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_separate_compile.cpp -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o
  # executed command: /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes -fsycl -fsycl-targets=spir64_x86_64 -fsycl-host-compiler=clang++ '-fsycl-host-compiler-options=-std=c++17 -Wno-attributes -Wno-deprecated-declarations -fPIC -DENABLE_KERNEL1' -DENABLE_KERNEL1 -c /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_separate_compile.cpp -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o
  # note: command had no output on stdout or stderr
  # RUN: at line 9
  /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes  -fsycl -fsycl-targets=spir64_x86_64 -fsycl-host-compiler=clang++ -fsycl-host-compiler-options='-std=c++17 -Wno-attributes -Wno-deprecated-declarations -fPIC -DENABLE_KERNEL2' -DENABLE_KERNEL2 -c /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_separate_compile.cpp -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o
  # executed command: /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes -fsycl -fsycl-targets=spir64_x86_64 -fsycl-host-compiler=clang++ '-fsycl-host-compiler-options=-std=c++17 -Wno-attributes -Wno-deprecated-declarations -fPIC -DENABLE_KERNEL2' -DENABLE_KERNEL2 -c /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_separate_compile.cpp -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o
  # note: command had no output on stdout or stderr
  # RUN: at line 12
  /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes  --offload-compress -fsycl -fsycl-link -fsycl-targets=spir64_x86_64 -fPIC /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compressed_image.o -v
  # executed command: /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes --offload-compress -fsycl -fsycl-link -fsycl-targets=spir64_x86_64 -fPIC /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compressed_image.o -v
  # .---command stderr------------
  # | clang version 22.0.0git (https://github.com/intel/llvm 46eca8449737d90db2acb28301f99a7086a860e2)
  # | Target: x86_64-unknown-linux-gnu
  # | Thread model: posix
  # | InstalledDir: /__w/llvm/llvm/toolchain/bin
  # | Build config: +assertions
  # | Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11
  # | Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/13
  # | Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/13
  # | Candidate multilib: .;@m64
  # | Selected multilib: .;@m64
  # | Found CUDA installation: /usr/local/cuda-12.6, version 12.6
  # | Found HIP installation: /opt/rocm, version 6.3.42131
  # | /__w/llvm/llvm/toolchain/bin/clang-offload-bundler -type=o -targets=sycl-spir64-unknown-unknown -input=/__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o -check-section 
  # | /__w/llvm/llvm/toolchain/bin/clang-offload-bundler -type=o -targets=sycl-spir64-unknown-unknown -input=/__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o -check-section 
  # | /__w/llvm/llvm/toolchain/bin/clang-offload-bundler -type=o -input=/__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o -list 
  # | /__w/llvm/llvm/toolchain/bin/clang-offload-bundler -type=o -input=/__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o -list 
  # | /__w/llvm/llvm/toolchain/bin/clang-offload-bundler -type=o -input=/__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o -list 
  # | /__w/llvm/llvm/toolchain/bin/clang-offload-bundler -type=o -input=/__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o -list 
  # |  "/__w/llvm/llvm/toolchain/bin/clang-offload-bundler" -type=o -targets=host-x86_64-unknown-linux-gnu,sycl-spir64_x86_64-unknown-unknown -input=/__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o -output=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-4e95ba.o -output=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-130b50.o -unbundle -allow-missing-bundles -verbose
  # | Uncompressed bundle.
  # |  "/__w/llvm/llvm/toolchain/bin/spirv-to-ir-wrapper" /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-130b50.o -o /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-b5c477.bc -llvm-spirv-opts "--spirv-preserve-auxdata --spirv-target-env=SPV-IR --spirv-builtin-format=global"
  # |  "/__w/llvm/llvm/toolchain/bin/clang-offload-bundler" -type=o -targets=host-x86_64-unknown-linux-gnu,sycl-spir64_x86_64-unknown-unknown -input=/__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o -output=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-9c6c59.o -output=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-3f2b51.o -unbundle -allow-missing-bundles -verbose
  # | Uncompressed bundle.
  # |  "/__w/llvm/llvm/toolchain/bin/spirv-to-ir-wrapper" /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-3f2b51.o -o /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-8fec1b.bc -llvm-spirv-opts "--spirv-preserve-auxdata --spirv-target-env=SPV-IR --spirv-builtin-format=global"
  # |  "/__w/llvm/llvm/toolchain/bin/llvm-link" /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-b5c477.bc /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-8fec1b.bc -o /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-5e71e5.bc --suppress-warnings
  # |  "/__w/llvm/llvm/toolchain/bin/llvm-link" -only-needed /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-5e71e5.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-crt.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-complex.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-complex-fp64.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-cmath.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-cmath-fp64.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-imf.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-imf-fp64.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-imf-bf16.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-fallback-cassert.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-fallback-cstring.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-fallback-complex.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-fallback-complex-fp64.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-fallback-cmath.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-fallback-cmath-fp64.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-fallback-imf.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-fallback-imf-fp64.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-fallback-imf-bf16.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-itt-user-wrappers.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-itt-compiler-wrappers.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-itt-stubs.bc /__w/llvm/llvm/toolchain/bin/../lib/libsycl-fallback-bfloat16.bc -o /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-d8580b.bc --suppress-warnings
  # |  "/__w/llvm/llvm/toolchain/bin/sycl-post-link" -O2 -device-globals -properties -spec-const=emulation -split=auto -emit-only-kernels-as-entry-points -emit-param-info -symbols -emit-exported-symbols -emit-imported-symbols -split-esimd -lower-esimd -o spir64_x86_64,/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-9f2aba.table /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-d8580b.bc
  # |  "/__w/llvm/llvm/toolchain/bin/file-table-tform" -extract=Code -drop_titles -o /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-061961.txt /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-9f2aba.table
  # |  "/__w/llvm/llvm/toolchain/bin/llvm-foreach" --in-file-list=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-061961.txt --in-replace=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-061961.txt --out-ext=spv --out-file-list=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-abf86c.txt --out-replace=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-abf86c.txt -- /__w/llvm/llvm/toolchain/bin/llvm-spirv -o /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-abf86c.txt -spirv-max-version=1.5 -spirv-debug-info-version=nonsemantic-shader-200 -spirv-allow-unknown-intrinsics=llvm.genx.,llvm.fpbuiltin -spirv-ext=-all,+SPV_EXT_shader_atomic_float_add,+SPV_EXT_shader_atomic_float_min_max,+SPV_KHR_no_integer_wrap_decoration,+SPV_KHR_float_controls,+SPV_KHR_expect_assume,+SPV_KHR_linkonce_odr,+SPV_INTEL_subgroups,+SPV_INTEL_media_block_io,+SPV_INTEL_device_side_avc_motion_estimation,+SPV_INTEL_fpga_loop_controls,+SPV_INTEL_unstructured_loop_controls,+SPV_INTEL_fpga_reg,+SPV_INTEL_blocking_pipes,+SPV_INTEL_function_pointers,+SPV_INTEL_kernel_attributes,+SPV_INTEL_io_pipes,+SPV_INTEL_inline_assembly,+SPV_INTEL_arbitrary_precision_integers,+SPV_INTEL_float_controls2,+SPV_INTEL_vector_compute,+SPV_INTEL_fast_composite,+SPV_INTEL_arbitrary_precision_fixed_point,+SPV_INTEL_arbitrary_precision_floating_point,+SPV_INTEL_variable_length_array,+SPV_INTEL_fp_fast_math_mode,+SPV_INTEL_long_composites,+SPV_INTEL_arithmetic_fence,+SPV_INTEL_global_variable_decorations,+SPV_INTEL_cache_controls,+SPV_INTEL_fpga_buffer_location,+SPV_INTEL_fpga_argument_interfaces,+SPV_INTEL_fpga_invocation_pipelining_attributes,+SPV_INTEL_fpga_latency_control,+SPV_KHR_shader_clock,+SPV_INTEL_bindless_images,+SPV_INTEL_task_sequence,+SPV_INTEL_bfloat16_conversion,+SPV_INTEL_joint_matrix,+SPV_INTEL_hw_thread_queries,+SPV_KHR_uniform_group_instructions,+SPV_INTEL_masked_gather_scatter,+SPV_INTEL_tensor_float32_conversion,+SPV_INTEL_optnone,+SPV_KHR_non_semantic_info,+SPV_KHR_cooperative_matrix,+SPV_EXT_shader_atomic_float16_add,+SPV_INTEL_fp_max_error /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-061961.txt
  # |  "/__w/llvm/llvm/toolchain/bin/llvm-foreach" --out-ext=out --in-file-list=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-abf86c.txt --in-replace=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-abf86c.txt --out-file-list=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-32aba4.out --out-replace=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-32aba4.out -- /__w/llvm/llvm/toolchain/bin/opencl-aot -o=/tmp/lit-tmp-pdr5_ot7/compression_separate_compile-32aba4.out --device=cpu /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-abf86c.txt
  # |  "/__w/llvm/llvm/toolchain/bin/file-table-tform" -replace=Code,Code -o /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-1a23ee.table /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-9f2aba.table /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-32aba4.out
  # |  "/__w/llvm/llvm/toolchain/bin/clang-offload-wrapper" -host x86_64-unknown-linux-gnu -o /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-319e4d.bc -offload-compress -kind=sycl -target=spir64_x86_64 -batch /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-1a23ee.table
  # |  "/__w/llvm/llvm/toolchain/bin/clang-22" -cc1 -triple x86_64-unknown-linux-gnu -fsycl-is-host -sycl-std=2020 -D__INTEL_PREVIEW_BREAKING_CHANGES -D__SYCL_ANY_DEVICE_HAS_ANY_ASPECT__=1 -D__SYCL_ALL_DEVICES_HAVE_atomic64__=1 -D__SYCL_ALL_DEVICES_HAVE_cpu__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_intel_device_id__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_intel_gpu_eu_count_per_subslice__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_intel_gpu_hw_threads_per_eu__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_intel_gpu_slices__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_intel_gpu_subslices_per_slice__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_intel_legacy_image__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_oneapi_chunk__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_oneapi_fragment__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_oneapi_native_assert__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_oneapi_private_alloca__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_oneapi_srgb__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_oneapi_tangle__=1 -D__SYCL_ALL_DEVICES_HAVE_ext_oneapi_virtual_functions__=1 -D__SYCL_ALL_DEVICES_HAVE_fp16__=1 -D__SYCL_ALL_DEVICES_HAVE_fp64__=1 -D__SYCL_ALL_DEVICES_HAVE_online_compiler__=1 -D__SYCL_ALL_DEVICES_HAVE_online_linker__=1 -D__SYCL_ALL_DEVICES_HAVE_queue_profiling__=1 -D__SYCL_ALL_DEVICES_HAVE_usm_atomic_host_allocations__=1 -D__SYCL_ALL_DEVICES_HAVE_usm_atomic_shared_allocations__=1 -D__SYCL_ALL_DEVICES_HAVE_usm_device_allocations__=1 -D__SYCL_ALL_DEVICES_HAVE_usm_host_allocations__=1 -D__SYCL_ALL_DEVICES_HAVE_usm_shared_allocations__=1 -D__SYCL_ALL_DEVICES_HAVE_usm_system_allocations__=1 -emit-obj -dumpdir /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compressed_image.o- -disable-free -clear-ast-before-backend -main-file-name compression_separate_compile.cpp.tmp_compressed_image.o-wrapper -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic --dependent-lib=sycl-devicelib-host -debugger-tuning=gdb -fdebug-compilation-dir=/__w/llvm/llvm/build-e2e/Compression -v -fcoverage-compilation-dir=/__w/llvm/llvm/build-e2e/Compression -resource-dir /__w/llvm/llvm/toolchain/lib/clang/22 -Werror -ferror-limit 19 -fgpu-rdc -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compressed_image.o -x ir /tmp/lit-tmp-pdr5_ot7/compression_separate_compile-319e4d.bc
  # | clang -cc1 version 22.0.0git based upon LLVM 22.0.0git default target x86_64-unknown-linux-gnu
  # `-----------------------------
  # RUN: at line 16
  /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes  --offload-compress -fsycl -fsycl-link -fsycl-targets=spir64_x86_64 -fPIC /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compressed_image.o -### &> /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_driver_opts.txt
  # executed command: /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes --offload-compress -fsycl -fsycl-link -fsycl-targets=spir64_x86_64 -fPIC /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compressed_image.o '-###'
  # note: command had no output on stdout or stderr
  # RUN: at line 17
  /__w/llvm/llvm/toolchain/bin/FileCheck -input-file=/__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_driver_opts.txt /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_separate_compile.cpp --check-prefix=CHECK-DRIVER-OPTS
  # executed command: /__w/llvm/llvm/toolchain/bin/FileCheck -input-file=/__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_driver_opts.txt /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_separate_compile.cpp --check-prefix=CHECK-DRIVER-OPTS
  # note: command had no output on stdout or stderr
  # RUN: at line 22
  /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes  -fsycl -std=c++17 -Wno-attributes -Wno-deprecated-declarations -fPIC -c /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_separate_compile.cpp -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_main.o
  # executed command: /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes -fsycl -std=c++17 -Wno-attributes -Wno-deprecated-declarations -fPIC -c /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_separate_compile.cpp -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_main.o
  # note: command had no output on stdout or stderr
  # RUN: at line 25
  /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes  -fsycl /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_main.o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compressed_image.o -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compress.out
  # executed command: /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fpreview-breaking-changes -fsycl /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_main.o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel1_aot.o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_kernel2_aot.o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compressed_image.o -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compress.out
  # note: command had no output on stdout or stderr
  # RUN: at line 27
  env ONEAPI_DEVICE_SELECTOR=opencl:cpu  /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compress.out
  # executed command: env ONEAPI_DEVICE_SELECTOR=opencl:cpu /__w/llvm/llvm/build-e2e/Compression/Output/compression_separate_compile.cpp.tmp_compress.out
  # note: command had no output on stdout or stderr
  # error: command failed with exit status: -11

Here's the backtrace of the error:

Program received signal SIGSEGV, Segmentation fault.
__strcmp_evex () at ../sysdeps/x86_64/multiarch/strcmp-evex.S:318
warning: 318    ../sysdeps/x86_64/multiarch/strcmp-evex.S: No such file or directory
(gdb) bt
#0  __strcmp_evex () at ../sysdeps/x86_64/multiarch/strcmp-evex.S:318
#1  0x00007ffff787e0a1 in sycl::_V1::detail::isBfloat16DeviceLibImage (RawImg=<optimized out>, LibVersion=<optimized out>)
    at syclos/sycl/source/detail/program_manager/program_manager.cpp:1848
#2  sycl::_V1::detail::ProgramManager::addImage (this=this@entry=0x421a30, RawImg=0x40ad10 <sycl_offloading.device_images>,
    RegisterImgExports=RegisterImgExports@entry=true, OutImage=OutImage@entry=0x0, OutKernelIDs=OutKernelIDs@entry=0x0)
    at syclos/sycl/source/detail/program_manager/program_manager.cpp:1906
#3  0x00007ffff787fbba in sycl::_V1::detail::ProgramManager::addImages (DeviceBinary=0x40ad70 <sycl_offloading[descriptor]>, this=0x421a30)
    at syclos/sycl/source/detail/program_manager/program_manager.cpp:2114
#4  __sycl_register_lib (desc=0x40ad70 <sycl_offloading[descriptor]>)
    at syclos/sycl/source/detail/program_manager/program_manager.cpp:3878
#5  0x000000000040231d in sycl.descriptor_reg ()
#6  0x00007ffff722a304 in call_init (env=<optimized out>, argv=0x7fffffffa398, argc=1) at ../csu/libc-start.c:145
#7  __libc_start_main_impl (main=0x402460 <main>, argc=1, argv=0x7fffffffa398, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fffffffa388) at ../csu/libc-start.c:347
#8  0x0000000000402395 in _start ()
(gdb) f 1
#1  0x00007ffff787e0a1 in sycl::_V1::detail::isBfloat16DeviceLibImage (RawImg=<optimized out>, LibVersion=<optimized out>)
    at syclos/sycl/source/detail/program_manager/program_manager.cpp:1848
1848            !strcmp(__SYCL_PROPERTY_SET_DEVICELIB_METADATA, ImgPS->Name)) {

To reproduce

Environment

  • OS: Linux

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions