Skip to content

Commit

Permalink
Fix compile error on Linux.
Browse files Browse the repository at this point in the history
Signed-off-by: Chiming Zhang <[email protected]>
  • Loading branch information
zhangchiming committed Aug 9, 2024
1 parent d78756a commit 4a1c8fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime_src/hip/core/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ namespace xrt::core::hip
insert_sub_mem(std::shared_ptr<sub_memory> sub_mem);

std::shared_ptr<sub_memory>
memory_database::get_sub_mem_from_handle(memory_handle h);
get_sub_mem_from_handle(memory_handle h);

std::pair<std::shared_ptr<xrt::core::hip::memory>, size_t>
get_hip_mem_from_addr(void* addr);
Expand Down
2 changes: 1 addition & 1 deletion src/runtime_src/hip/core/memory_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ namespace xrt::core::hip

// add one block to the memory pool
bool
memory_pool::extend_memory_pool(size_t aligned_size);
extend_memory_pool(size_t aligned_size);

std::shared_ptr<memory_pool_node>
find_memory_pool_node(void* ptr, uint64_t &start);
Expand Down

0 comments on commit 4a1c8fb

Please sign in to comment.