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: 14b62557d0]
Этот коммит содержится в:
Ammar ELWazir
2021-08-09 22:56:00 -04:00
родитель 7abf743d4b
Коммит 1f2ded91f6
+3 -3
Просмотреть файл
@@ -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"