Skip to content

Commit

Permalink
Temp to check for issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AWoloszyn committed Nov 13, 2024
1 parent b47bf2f commit e5f15e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions runtime/src/iree/hal/drivers/hip/context_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ static inline iree_status_t iree_hal_hip_set_context(
return status;
}
});
fprintf(stderr, "SetCurrentContext %p\n", hip_context);
return IREE_HIP_RESULT_TO_STATUS(syms, hipCtxSetCurrent(hip_context));
}

Expand Down
1 change: 1 addition & 0 deletions runtime/src/iree/hal/drivers/hip/hip_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ static void iree_hal_hip_device_destroy(iree_hal_device_t* base_device) {

IREE_HIP_IGNORE_ERROR(symbols, hipStreamDestroy(device->hip_dispatch_stream));

fprintf(stderr, "DevicePrimaryCtxRelease\n");
// NOTE: This function return hipSuccess though doesn't release the
// primaryCtx by design on HIP/HCC path.
IREE_HIP_IGNORE_ERROR(symbols,
Expand Down

0 comments on commit e5f15e4

Please sign in to comment.