Skip to content

Commit

Permalink
rocm: fix typo in ctx_open
Browse files Browse the repository at this point in the history
  • Loading branch information
gcongiu committed Oct 9, 2023
1 parent f63abb4 commit 3871cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/rocm/roc_profiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ ctx_open(rocp_ctx_t rocp_ctx)
return papi_errno;
fn_fail:
for (j = 0; j < i; ++j) {
rocp_close_p(contexts[i]);
rocp_close_p(contexts[j]);
SAMPLING_DECREMENT_AND_FETCH_QUEUE_COUNTER();
}
goto fn_exit;
Expand Down

0 comments on commit 3871cf6

Please sign in to comment.