Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rocm include path in two e2e tests leads to failures in build stage on CI #17018

Open
ayylol opened this issue Feb 14, 2025 · 0 comments
Open
Labels
bug Something isn't working hip Issues related to execution on HIP backend.

Comments

@ayylol
Copy link
Contributor

ayylol commented Feb 14, 2025

Describe the bug

EnqueueNativeCommand/custom-command-hip.cpp and HostInteropTask/interop-task-hip.cpp fail to build on CI build stage due to rocm include path.

This issue is aknowledged in the tests with the following comment:

// FIXME: the rocm include path and link path are highly platform dependent,
// we should set this with some variable instead.

The failure in CI:

********************
FAIL: SYCL :: HostInteropTask/interop-task-hip.cpp (1292 of 2282)
******************** TEST 'SYCL :: HostInteropTask/interop-task-hip.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/__w/llvm/llvm/toolchain/bin/clang++  -Werror -fsycl -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1030  /__w/llvm/llvm/llvm/sycl/test-e2e/HostInteropTask/interop-task-hip.cpp -Wno-error=deprecated-pragma -Wno-error=deprecated-declarations -o /__w/llvm/llvm/build-e2e/HostInteropTask/Output/interop-task-hip.cpp.tmp.out -I%rocm_path/include -L%rocm_path/lib -lamdhip64
# executed command: /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fsycl -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1030 /__w/llvm/llvm/llvm/sycl/test-e2e/HostInteropTask/interop-task-hip.cpp -Wno-error=deprecated-pragma -Wno-error=deprecated-declarations -o /__w/llvm/llvm/build-e2e/HostInteropTask/Output/interop-task-hip.cpp.tmp.out -I%rocm_path/include -L%rocm_path/lib -lamdhip64
# .---command stderr------------
# | /__w/llvm/llvm/llvm/sycl/test-e2e/HostInteropTask/interop-task-hip.cpp:15:10: fatal error: 'hip/hip_runtime.h' file not found
# |    15 | #include <hip/hip_runtime.h>
# |       |          ^~~~~~~~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1

--

https://github.com/intel/llvm/actions/runs/13331013654/job/37234912237?pr=16953

To reproduce

Environment

No response

Additional context

No response

@ayylol ayylol added bug Something isn't working hip Issues related to execution on HIP backend. labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hip Issues related to execution on HIP backend.
Projects
None yet
Development

No branches or pull requests

1 participant