Skip to content

Commit

Permalink
Fixes #645: Now using the correct free() call in `memory::managed::…
Browse files Browse the repository at this point in the history
…detail_::deleter`
  • Loading branch information
eyalroz committed Apr 29, 2024
1 parent 72d77df commit 62d3912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cuda/api/memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,7 @@ struct allocator {
};

struct deleter {
void operator()(void* ptr) const { memory::device::free(ptr); }
void operator()(void* ptr) const { detail_::free(ptr); }
};

inline region_t allocate(
Expand Down

0 comments on commit 62d3912

Please sign in to comment.