From aad878c1d54045d6df131b472887d8758f38833e Mon Sep 17 00:00:00 2001 From: "Bill(Shuzhou) Liu" Date: Thu, 2 May 2024 11:09:57 -0500 Subject: [PATCH] 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: 3d82f1799d20a43c3a20602435c85f661f911316] --- projects/rocm-smi-lib/third_party/shared_mutex/shared_mutex.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/rocm-smi-lib/third_party/shared_mutex/shared_mutex.cc b/projects/rocm-smi-lib/third_party/shared_mutex/shared_mutex.cc index 16da69d5a2..7206ae938e 100755 --- a/projects/rocm-smi-lib/third_party/shared_mutex/shared_mutex.cc +++ b/projects/rocm-smi-lib/third_party/shared_mutex/shared_mutex.cc @@ -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); }