-
Notifications
You must be signed in to change notification settings - Fork 796
Closed
Labels
bugSomething isn't workingSomething isn't workinghipIssues related to execution on HIP backend.Issues related to execution on HIP backend.
Description
Describe the bug
Example: https://github.com/intel/llvm/actions/runs/11478969082/job/31946092977
FAIL: SYCL :: Compression/compression.cpp (403 of 2238)
******************** TEST 'SYCL :: Compression/compression.cpp' FAILED ********************
Exit Code: -11
Command Output (stdout):
--
# RUN: at line 3
/__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression.cpp -O0 -g /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/Inputs/single_kernel.cpp -o /__w/llvm/llvm/build-e2e/Compression/Output/compression.cpp.tmp_not_compress.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx10[31](https://github.com/intel/llvm/actions/runs/11478969082/job/31946092977#step:22:32) -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression.cpp -O0 -g /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/Inputs/single_kernel.cpp -o /__w/llvm/llvm/build-e2e/Compression/Output/compression.cpp.tmp_not_compress.out
# note: command had no output on stdout or stderr
# RUN: at line 4
/__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression.cpp -O0 -g --offload-compress --offload-compression-level=3 /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/Inputs/single_kernel.cpp -o /__w/llvm/llvm/build-e2e/Compression/Output/compression.cpp.tmp_compress.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression.cpp -O0 -g --offload-compress --offload-compression-level=3 /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/Inputs/single_kernel.cpp -o /__w/llvm/llvm/build-e2e/Compression/Output/compression.cpp.tmp_compress.out
# note: command had no output on stdout or stderr
# RUN: at line 5
env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/Compression/Output/compression.cpp.tmp_not_compress.out
# executed command: env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/Compression/Output/compression.cpp.tmp_not_compress.out
# note: command had no output on stdout or stderr
# RUN: at line 6
env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/Compression/Output/compression.cpp.tmp_compress.out
# executed command: env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/Compression/Output/compression.cpp.tmp_compress.out
# note: command had no output on stdout or stderr
# error: command failed with exit status: -11
--
********************
FAIL: SYCL :: Compression/compression_multiple_tu.cpp (410 of 2238)
******************** TEST 'SYCL :: Compression/compression_multiple_tu.cpp' FAILED ********************
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 5
/__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_multiple_tu.cpp --offload-compress -DENABLE_KERNEL1 -shared -fPIC -o /__w/llvm/llvm/build-e2e/Compression/Output/kernel1.so
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_multiple_tu.cpp --offload-compress -DENABLE_KERNEL1 -shared -fPIC -o /__w/llvm/llvm/build-e2e/Compression/Output/kernel1.so
# note: command had no output on stdout or stderr
# RUN: at line 6
/__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_multiple_tu.cpp -DENABLE_KERNEL2 -shared -fPIC -o /__w/llvm/llvm/build-e2e/Compression/Output/kernel2.so
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_multiple_tu.cpp -DENABLE_KERNEL2 -shared -fPIC -o /__w/llvm/llvm/build-e2e/Compression/Output/kernel2.so
# note: command had no output on stdout or stderr
# RUN: at line 8
/__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_multiple_tu.cpp /__w/llvm/llvm/build-e2e/Compression/Output/kernel1.so /__w/llvm/llvm/build-e2e/Compression/Output/kernel2.so -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_multiple_tu.cpp.tmp_compress.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Compression/compression_multiple_tu.cpp /__w/llvm/llvm/build-e2e/Compression/Output/kernel1.so /__w/llvm/llvm/build-e2e/Compression/Output/kernel2.so -o /__w/llvm/llvm/build-e2e/Compression/Output/compression_multiple_tu.cpp.tmp_compress.out
# note: command had no output on stdout or stderr
# RUN: at line 9
env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/Compression/Output/compression_multiple_tu.cpp.tmp_compress.out
# executed command: env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/Compression/Output/compression_multiple_tu.cpp.tmp_compress.out
# .---command stderr------------
# | <HIP>[ERROR]:
# | UR HIP ERROR:
# | Value: 218
# | Name: hipErrorInvalidKernelFile
# | Description: invalid kernel file
# | Function: buildProgram
# | Source Location: /__w/llvm/llvm/build/_deps/unified-runtime-src/source/adapters/hip/program.cpp:2[35](https://github.com/intel/llvm/actions/runs/11478969082/job/31946092977#step:22:36)
# |
# | terminate called after throwing an instance of 'sycl::_V1::exception'
# | what(): The program was built for 1 devices
# | Build program log for 'AMD Radeon RX 6700 XT':
# | {��
# `-----------------------------
# error: command failed with exit status: -6
To reproduce
Guilty commit: 155fe2a
Environment
- OS: Linux
- Target device and vendor: AMD GPU
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghipIssues related to execution on HIP backend.Issues related to execution on HIP backend.