Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Allocator/deallocator with pinned-host capability. More...
|ArrayRCP< T >||alloc (const size_t sz) const|
|Allocate a buffer of the requested size. |
|void||free (void *ptr) const|
|Deallocate the memory pointed to by ptr. |
Allocator/deallocator with pinned-host capability.
Allocates a segment of page-locked memory associated with CUDA device memory. Upon deallocation, delete it appropriately.
|ArrayRCP< T > Kokkos::CUDANodeHostPinnedDeallocator< T >::alloc||(||const size_t||sz||)||const|
Allocate a buffer of the requested size.
|sz||[in] Number of entries in the buffer.|
|void Kokkos::CUDANodeHostPinnedDeallocator< T >::free||(||void *||ptr||)||const|