From 4556990b06417dbd108f97ef2b397e8fdb163797 Mon Sep 17 00:00:00 2001 From: mvermeulen <5479696+mvermeulen@users.noreply.github.com> Date: Wed, 26 Aug 2020 20:55:31 -0500 Subject: [PATCH] ROCm changed name of library and removed old one in ROCm 3.7 release. (#6345) --- cmake/util/FindROCM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/util/FindROCM.cmake b/cmake/util/FindROCM.cmake index 2b2db2c14f11..cf9524ba57b8 100644 --- a/cmake/util/FindROCM.cmake +++ b/cmake/util/FindROCM.cmake @@ -48,7 +48,7 @@ macro(find_rocm use_rocm) if(__rocm_sdk) set(ROCM_INCLUDE_DIRS ${__rocm_sdk}/include) - find_library(ROCM_HIPHCC_LIBRARY hip_hcc ${__rocm_sdk}/lib) + find_library(ROCM_HIPHCC_LIBRARY amdhip64 ${__rocm_sdk}/lib) find_library(ROCM_MIOPEN_LIBRARY MIOpen ${__rocm_sdk}/lib) find_library(ROCM_ROCBLAS_LIBRARY rocblas ${__rocm_sdk}/lib) if(ROCM_HIPHCC_LIBRARY)