ROCm / amdsmi

AMD SMI
https://rocm.docs.amd.com/projects/amdsmi/en/latest
MIT License
29 stars 12 forks source link

[Issue]: string returned by amdsmi_status_code_to_string() contains RSMI_STATUS_* #18

Open maxweiss opened 2 months ago

maxweiss commented 2 months ago

Problem Description

Not a big issue, but the string returned by amdsmi_status_code_to_string() contains the RSMISTATUS* code. For example:

amdsmi_status_code_to_string(AMDSMI_STATUS_SUCCESS, &err)
-> "RSMI_STATUS_SUCCESS: The function has been executed successfully."

amdsmi_status_code_to_string(AMDSMI_STATUS_INVAL, &err)
-> "RSMI_STATUS_INVALID_ARGS: The provided arguments do not meet the preconditions required for calling this function."

Operating System

Ubuntu 22.04

CPU

AMD EPYC 7763

GPU

AMD Instinct MI250

ROCm Version

ROCm 6.0.0

ROCm Component

amdsmi

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response