From 1f2ded91f6674bf7534248683c92fc128ec31f9c Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Mon, 9 Aug 2021 22:56:00 -0400 Subject: [PATCH] SWDEV-296331: Fixed libhsakmt.so.1 Removed the old code for trying to locate libhsakmt.so.1 as it is replaced by libhsakmt.a static library Change-Id: Icc5a0f6ead285e2406e6e83614e536184e3a2663 [ROCm/rocprofiler commit: 14b62557d0b51f2f1e68da145cf64cc31b030be1] --- projects/rocprofiler/bin/rpl_run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/rocprofiler/bin/rpl_run.sh b/projects/rocprofiler/bin/rpl_run.sh index 1ef5b07f2d..1be295e142 100755 --- a/projects/rocprofiler/bin/rpl_run.sh +++ b/projects/rocprofiler/bin/rpl_run.sh @@ -215,20 +215,20 @@ fi set_rocm_lib_path() { for ROCM_LIB_PATH in "$ROOT_DIR/lib" "$ROOT_DIR/lib64" ; do - if [ -f "$ROCM_LIB_PATH/libhsakmt.so.1" ]; then + if [ -d "$ROCM_LIB_PATH" ]; then return 0 fi done #error - return 255 #FF + return 255 } # profiling run method OUTPUT_LIST="" run() { if ! set_rocm_lib_path ; then - echo " Fatal could not find libhsakmt " + echo " Fatal could not find ROCm lib directory " fatal fi export ROCP_INPUT="$1"