SWDEV-532676 - Pass hip-path instead of rocm-path (#182)
* SWDEV-532676 - Pass hip-path instead of rocm-path
Commit 7b7537c1703db0cc53ee1f36089406b555ae9a9e in llvm-project enforces that no hip-device-lib-path is forwarded by hipcc. To ensure that runtime is found, pass hip-path instead.
* SWDEV-532676 - Fix comment
Co-authored-by: Lambert, Jacob <Jacob.Lambert@amd.com>
---------
Co-authored-by: Lambert, Jacob <Jacob.Lambert@amd.com>
[ROCm/hip-tests commit: 65158bc9f1]
このコミットが含まれているのは:
@@ -37,10 +37,10 @@ endif()
|
||||
# flag is set to ON in compute build for windows
|
||||
option(HIPINFO_INTERNAL_BUILD "Enable building hipInfo from compute" OFF)
|
||||
|
||||
# need to set rocm_path for windows
|
||||
# need to set hip-path for windows
|
||||
# since clang and hip are two different folders during build/install step
|
||||
if (WIN32 AND HIPINFO_INTERNAL_BUILD)
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --rocm-path=${CMAKE_PREFIX_PATH}")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --hip-path=${CMAKE_PREFIX_PATH}")
|
||||
endif()
|
||||
|
||||
# Find hip
|
||||
@@ -73,4 +73,4 @@ endif()
|
||||
|
||||
if(TARGET build_utils)
|
||||
add_dependencies(build_utils hipInfo)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする