llvm
llvm copied to clipboard
DeviceImageDependencies/free_function_kernels.cpp failing on AMD HIP
Describe the bug
# 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/DeviceImageDependencies/free_function_kernels.cpp -o /__w/llvm/llvm/build-e2e/DeviceImageDependencies/Output/free_function_kernels.cpp.tmp.out -fsycl-allow-device-image-dependencies
# 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/DeviceImageDependencies/free_function_kernels.cpp -o /__w/llvm/llvm/build-e2e/DeviceImageDependencies/Output/free_function_kernels.cpp.tmp.out -fsycl-allow-device-image-dependencies
# note: command had no output on stdout or stderr
# RUN: at line 5
env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/DeviceImageDependencies/Output/free_function_kernels.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/DeviceImageDependencies/Output/free_function_kernels.cpp.tmp.out
# .---command stdout------------
# | Test 0a: PASS
# `-----------------------------
# .---command stderr------------
# | terminate called after throwing an instance of 'sycl::_V1::exception'
# | what(): No kernel found with the specified name
# `-----------------------------
# error: command failed with exit status: -6
--
https://github.com/intel/llvm/actions/runs/11385190600/job/31674912072
To reproduce
No response
Environment
No response
Additional context
No response
FYI @LU-JOHN
gfx1031 is unsupported, so closing this issue as "won't fix". The test is expected to pass on gfx1030. See the discussion in https://github.com/intel/llvm/issues/16778 issue for more details.