From 1dc47d1a67c88107fa9915b1b09a4072eead82e9 Mon Sep 17 00:00:00 2001 From: "Deshpande, Chinmay Diwakar" Date: Mon, 19 May 2025 13:26:03 -0700 Subject: [PATCH] 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 --------- Co-authored-by: Lambert, Jacob [ROCm/hip-tests commit: 65158bc9f12cfd9cf63120c48c33ac575282e43a] --- projects/hip-tests/samples/1_Utils/hipInfo/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/hip-tests/samples/1_Utils/hipInfo/CMakeLists.txt b/projects/hip-tests/samples/1_Utils/hipInfo/CMakeLists.txt index 301649761d..f17d4e4bcd 100644 --- a/projects/hip-tests/samples/1_Utils/hipInfo/CMakeLists.txt +++ b/projects/hip-tests/samples/1_Utils/hipInfo/CMakeLists.txt @@ -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() \ No newline at end of file +endif()