From ce58ff5bf67ddbcbfab42d9ad1fea38081b31526 Mon Sep 17 00:00:00 2001 From: Mark Harris <783069+harrism@users.noreply.github.com> Date: Tue, 9 Jan 2024 08:21:27 +0000 Subject: [PATCH] Add documentation for alignment params --- include/rmm/mr/pinned_host_memory_resource.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/rmm/mr/pinned_host_memory_resource.hpp b/include/rmm/mr/pinned_host_memory_resource.hpp index fadf241fc..d26481847 100644 --- a/include/rmm/mr/pinned_host_memory_resource.hpp +++ b/include/rmm/mr/pinned_host_memory_resource.hpp @@ -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( @@ -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,