Do not print the library name if in default folder

The rocm-smi python tool will not print the library name on default
folder.

Change-Id: I203a872ebe2fc994766a2628049ca50c8bfa7120


[ROCm/rocm_smi_lib commit: 016dbf8aa3]
Этот коммит содержится в:
Bill(Shuzhou) Liu
2023-09-26 10:26:06 -05:00
коммит произвёл Shuzhou Liu
родитель 9d07110891
Коммит 20975db2be
-2
Просмотреть файл
@@ -37,8 +37,6 @@ def initRsmiBindings(silent=False):
print_silent('Using lib from %s' % path_librocm)
else:
print('Unable to find librocm_smi64.so.@VERSION_MAJOR@')
else:
print_silent('Library loaded from: %s ' % path_librocm)
# ----------> TODO: Support static libs as well as SO
try: