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


[ROCm/amdsmi commit: 99be3451d7]
Tento commit je obsažen v:
Divya Shikre committed 2022-05-11 11:03:24 -04:00
1 rodič 8504d79dfa
revize 3cbd1652de
3 files changed
+14 -1

No files matched your search

+4
Zobrazit soubor
@@ -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;