You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if I am doing something wrong here, but it seems that include directory information for ROCm 5.6 does not propagate through CMake configuration the way I think it should. Here is a simple example to reproduce the issue:
find_package(hip REQUIRED)
add_library(resolve_hip INTERFACE)
target_link_libraries(resolve_hip INTERFACE hip::device)
get_target_property(hip_includes hip::device INTERFACE_INCLUDE_DIRECTORIES)
message(STATUS "HIP include directories: ${hip_includes}")
get_target_property(resolve_hip_includes resolve_hip INTERFACE_INCLUDE_DIRECTORIES)
message(STATUS "ReSolve HIP include directories: ${resolve_hip_includes}")
When this code is executed, I get something like this in the output.
...
-- HIP include directories: /opt/rocm-5.6.0/include
-- ReSolve HIP include directories: resolve_hip_includes-NOTFOUND
...
Do I need to export hip::device target before interfacing it to resolve_hip?
I could use some help to understand this better.
The text was updated successfully, but these errors were encountered:
I am not sure if I am doing something wrong here, but it seems that include directory information for ROCm 5.6 does not propagate through CMake configuration the way I think it should. Here is a simple example to reproduce the issue:
When this code is executed, I get something like this in the output.
Do I need to export
hip::device
target before interfacing it toresolve_hip
?I could use some help to understand this better.
The text was updated successfully, but these errors were encountered: