Skip to content

Commit

Permalink
Add documentation for alignment params
Browse files Browse the repository at this point in the history
  • Loading branch information
harrism committed Jan 9, 2024
1 parent 4ef844a commit ce58ff5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/rmm/mr/pinned_host_memory_resource.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ class pinned_host_memory_resource {
* reason.
*
* @param bytes The size, in bytes, of the allocation.
* @param alignment Alignment in bytes. Default alignment is used if unspecified.
*
* @return Pointer to the newly allocated memory.
*/
static void* allocate(
Expand All @@ -72,6 +74,7 @@ class pinned_host_memory_resource {
*
* @param ptr Pointer to be deallocated.
* @param bytes Size of the allocation.
* @param alignment Alignment in bytes. Default alignment is used if unspecified.
*/
static void deallocate(
void* ptr,
Expand Down

0 comments on commit ce58ff5

Please sign in to comment.