Skip to content

Commit

Permalink
Update for hip_memory_pools_merge from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
AWoloszyn committed Dec 6, 2024
1 parent d3d5051 commit 2b0b0da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/src/iree/hal/drivers/hip/memory_pools.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static void iree_hal_hip_memory_pool_track_free(
}

void iree_hal_hip_memory_pools_merge_statistics(
const iree_hal_hip_memory_pools_t* pools,
iree_hal_hip_memory_pools_t* pools,
iree_hal_allocator_statistics_t* statistics) {
IREE_STATISTICS({
statistics->device_bytes_allocated = iree_atomic_load(
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/iree/hal/drivers/hip/memory_pools.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void iree_hal_hip_memory_pools_deinitialize(iree_hal_hip_memory_pools_t* pools);

// Merges statistics information from |pools| into |statistics|.
void iree_hal_hip_memory_pools_merge_statistics(
const iree_hal_hip_memory_pools_t* pools,
iree_hal_hip_memory_pools_t* pools,
iree_hal_allocator_statistics_t* statistics);

// Trims all memory pools by releasing resources back to the system.
Expand Down

0 comments on commit 2b0b0da

Please sign in to comment.