Add DEBUG_LOG macro

Add DEBUG_LOG that will optionally print error
message when RSMI_DEBUG_BITFIELD is set to 2.

Signed-off-by: Divya Shikre <DivyaUday.Shikre@amd.com>
Change-Id: I6017e92d8a9e5f9861ae29ece0488d4bc198f996
Tá an tiomantas seo le fáil i:
Divya Shikre tiomanta 2022-05-11 11:03:24 -04:00
1 tuismitheoir c9b42bff57
tiomantas 99be3451d7
3 comhad athraithe
+14 -1

Níor tháinig aon chomhaid le do chuardach

+4
Féach ar an gComhad
@@ -376,6 +376,10 @@ void RocmSMI::GetEnvVariables(void) {
#endif
}
const RocmSMI_env_vars& RocmSMI::getEnv(void) {
return env_vars_;
}
std::shared_ptr<Monitor>
RocmSMI::FindMonitor(std::string monitor_path) {
std::string tmp;