Skip to content

Commit

Permalink
rocm_smi not supported events
Browse files Browse the repository at this point in the history
  • Loading branch information
Dong Jun Woun committed Feb 14, 2025
1 parent 35ba084 commit 20695e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/rocm_smi/rocs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ init_device_table(void)

for (i = 0; i < device_count; ++i) {
status = rsmi_dev_pci_bandwidth_get_p(i, &pcie_table[i]);
if (status != RSMI_STATUS_SUCCESS && status != RSMI_STATUS_NOT_YET_IMPLEMENTED) {
if (status != RSMI_STATUS_SUCCESS && status != RSMI_STATUS_NOT_YET_IMPLEMENTED && status != RSMI_STATUS_NOT_SUPPORTED) {
papi_errno = PAPI_EMISC;
goto fn_fail;
}
Expand Down

0 comments on commit 20695e2

Please sign in to comment.