Suppress "rsmi_init() failed" error message

When an application call the library in a system without amdgpu,
it may always print out "rsmi_init() failed". Suppress the error
message in the library.

Change-Id: Ice63dd3a764b221a6935536bff1bfa6aa3e51a46
이 커밋은 다음에 포함됨:
Bill(Shuzhou) Liu가 2022-04-12 09:44:00 -04:00를 커밋했습니다
1 부모 e800cbf161
커밋 7860de5107
1 파일이 변경됨
-1
-1
파일 보기
@@ -436,7 +436,6 @@ rsmi_init(uint64_t flags) {
smi.Initialize(flags);
} catch(...) {
smi.Cleanup();
std::cerr << "rsmi_init() failed" << std::endl;
throw amd::smi::rsmi_exception(RSMI_STATUS_INIT_ERROR, __FUNCTION__);
}
}