Skip to content

Commit

Permalink
changed raw_free signature
Browse files Browse the repository at this point in the history
  • Loading branch information
inakleinbottle committed Oct 19, 2023
1 parent a9cd8f4 commit 582ee44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion device/include/roughpy/device/device_handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class RPY_EXPORT DeviceHandle
RPY_NO_DISCARD virtual Buffer
raw_alloc(dimn_t count, dimn_t alignment) const;

virtual void raw_free(Buffer buffer) const;
virtual void raw_free(void* pointer, dimn_t size) const;

RPY_NO_DISCARD
virtual optional<Kernel> get_kernel(string_view name) const noexcept;
Expand Down
2 changes: 1 addition & 1 deletion device/src/device_handle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Buffer DeviceHandle::raw_alloc(rpy::dimn_t count, rpy::dimn_t alignment) const
return {};
}

void DeviceHandle::raw_free(Buffer buffer) const {}
void DeviceHandle::raw_free(void* pointer, dimn_t size) const {}

optional<Kernel> DeviceHandle::get_kernel(string_view name) const noexcept
{
Expand Down

0 comments on commit 582ee44

Please sign in to comment.