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]
Bu işleme şunda yer alıyor:
1 ebeveyn
9d07110891
işleme
20975db2be
1 file changed
-2
@@ -37,8 +37,6 @@ def initRsmiBindings(silent=False):
|
|||||||
print_silent('Using lib from %s' % path_librocm)
|
print_silent('Using lib from %s' % path_librocm)
|
||||||
else:
|
else:
|
||||||
print('Unable to find librocm_smi64.so.@VERSION_MAJOR@')
|
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
|
# ----------> TODO: Support static libs as well as SO
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Bir kullanıcı engelle