Skip to content

Commit

Permalink
Update disabled reason if rocm init is successful.
Browse files Browse the repository at this point in the history
  • Loading branch information
Treece Burgess committed Sep 23, 2024
1 parent 7c6281e commit 7c11240
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/rocm/rocm.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ rocm_init_private(void)
fn_exit:
_rocm_vector.cmp_info.initialized = 1;
_rocm_vector.cmp_info.disabled = papi_errno;
strcpy(_rocm_vector.cmp_info.disabled_reason, "");
SUBDBG("EXIT: %s\n", PAPI_strerror(papi_errno));
_papi_hwi_unlock(COMPONENT_LOCK);
return papi_errno;
Expand Down

0 comments on commit 7c11240

Please sign in to comment.