Fixed NoDRM Failures

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Williams, Justin <Justin.Williams@amd.com>

[ROCm/amdsmi commit: 738627af29]
This commit is contained in:
Williams, Justin
2025-06-25 07:01:26 -07:00
کامیت شده توسط Arif, Maisam
والد 010f95bfb7
کامیت 21f5755794
@@ -39,12 +39,9 @@
if (RET != AMDSMI_STATUS_SUCCESS) { \
const char *err_str; \
amdsmi_status_code_to_string(RET, &err_str); \
if (RET == AMDSMI_STATUS_NOT_SUPPORTED || RET == AMDSMI_STATUS_INVAL) { \
std::cout << "AMDSMI call returned " << RET << " at line " \
<< __LINE__ << ": " << err_str << std::endl; \
} else { \
std::cout << "AMDSMI call returned " << RET << " at line " \
<< __LINE__ << ": " << err_str << std::endl; \
std::cout << "AMDSMI call returned " << RET << " at line " \
<< __LINE__ << ": " << err_str << std::endl; \
if (RET != AMDSMI_STATUS_NOT_SUPPORTED && RET != AMDSMI_STATUS_INVAL) { \
return RET; \
} \
} \