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)