Skip to content

HIP PI backend issues warning during build #9457

@steffenlarsen

Description

@steffenlarsen

During build in CI, the HIP backend issues the following warning, which is in turn promoted to an error:

In file included from /__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.hpp:34,
                 from /__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:14:
/opt/rocm/hip/include/hip/hip_runtime.h:26:2: error: #warning "This file is deprecated. Use header files from HIP_PATH/include, where HIP_PATH corresponds to HIP install path" [-Werror=cpp]
   26 | #warning "This file is deprecated. Use header files from HIP_PATH/include, where HIP_PATH corresponds to HIP install path"
      |  ^~~~~~~
In file included from /opt/rocm-5.5.0/include/hip/hip_runtime.h:58,
                 from /opt/rocm/hip/include/hip/hip_runtime.h:31,
                 from /__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.hpp:34,
                 from /__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:14:

See for example post-commit of 0a6adea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedhipIssues related to execution on HIP backend.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions