intel / llvm

Intel staging area for llvm.org contribution. Home for Intel LLVM-based projects.
Other
1.26k stars 740 forks source link

DeviceImageDependencies/free_function_kernels.cpp failing on AMD HIP #15742

Open sarnex opened 1 month ago

sarnex commented 1 month ago

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

sarnex commented 1 month ago

FYI @LU-JOHN