Remove thread safe only mutex warning message
In multiple GPUs environment, too many warning messages generated,
and then need to be removed.
Change-Id: I275de2397eb0e6b189e2e17e94335cb1e8f97815
[ROCm/rocm_smi_lib commit: 3d82f1799d]
This commit is contained in:
@@ -141,7 +141,6 @@ shared_mutex_t shared_mutex_init(const char *name, mode_t mode, bool retried) {
|
||||
amd::smi::RocmSMI& smi = amd::smi::RocmSMI::getInstance();
|
||||
|
||||
if (GetEnvVarUInteger(THREAD_ONLY_ENV_VAR) == 1 || smi.is_thread_only_mutex()) {
|
||||
fprintf(stderr, "rocm-smi: using thread safe only mutex\n");
|
||||
return init_thread_safe_only(name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user