[SDK] Update HIP support for ROCm 7.0 (#413)
* Update HIP VERSION to 7.0.0, HIP_RUNTIME_API_TABLE_STEP_VERSION to 13
* Changed rocprofiler_config_interfaces.cmake to check version after finding package
* Update cmake/rocprofiler_config_interfaces.cmake
---------
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
[ROCm/rocprofiler-sdk commit: b90ef494dd]
此提交包含在:
@@ -117,7 +117,6 @@ endif()
|
||||
|
||||
find_package(
|
||||
hip
|
||||
6.2
|
||||
REQUIRED
|
||||
CONFIG
|
||||
HINTS
|
||||
@@ -126,6 +125,11 @@ find_package(
|
||||
PATHS
|
||||
${rocm_version_DIR}
|
||||
${ROCM_PATH})
|
||||
|
||||
if(hip_VERSION VERSION_LESS "6.2")
|
||||
message(FATAL_ERROR "HIP version is ${hip_VERSION}, requires at least 6.2")
|
||||
endif()
|
||||
|
||||
target_link_libraries(rocprofiler-sdk-hip INTERFACE hip::host)
|
||||
rocprofiler_config_nolink_target(rocprofiler-sdk-hip-nolink hip::host)
|
||||
|
||||
|
||||
新增問題並參考
封鎖使用者