Skip to content

Commit

Permalink
Fix host_memory_resource signature typo (#728)
Browse files Browse the repository at this point in the history
Fixed typo in host_memory_resource signature.

Authors:
  - Miguel Martínez (@miguelusque)

Approvers:
  - Jake Hemstad (@jrhemstad)
  - Mark Harris (@harrism)

URL: #728
  • Loading branch information
miguelusque authored Mar 16, 2021
1 parent dd718e2 commit e0529f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,11 @@ freeing host memory.
Similar to `device_memory_resource`, it has two key functions for (de)allocation:
1. `void* device_memory_resource::allocate(std::size_t bytes, std::size_t alignment)`
1. `void* host_memory_resource::allocate(std::size_t bytes, std::size_t alignment)`
- Returns a pointer to an allocation of at least `bytes` bytes aligned to the specified
`alignment`
2. `void device_memory_resource::deallocate(void* p, std::size_t bytes, std::size_t alignment)`
2. `void host_memory_resource::deallocate(void* p, std::size_t bytes, std::size_t alignment)`
- Reclaims a previous allocation of size `bytes` pointed to by `p`.
Expand Down

0 comments on commit e0529f5

Please sign in to comment.