Allocator for page-locked memory on the host.
More...
#include <TNL/Allocators/CudaHost.h>
|
|
| CudaHost (const CudaHost &)=default |
|
template<class U> |
| | CudaHost (const CudaHost< U > &) |
|
| CudaHost (CudaHost &&) noexcept=default |
|
template<class U> |
| | CudaHost (CudaHost< U > &&) |
|
value_type * | allocate (size_type n) |
|
void | deallocate (value_type *ptr, size_type) |
|
CudaHost & | operator= (const CudaHost &)=default |
|
template<class U> |
| CudaHost & | operator= (const CudaHost< U > &) |
|
CudaHost & | operator= (CudaHost &&) noexcept=default |
|
template<class U> |
| CudaHost & | operator= (CudaHost< U > &&) |
template<class T>
struct TNL::Allocators::CudaHost< T >
Allocator for page-locked memory on the host.
The allocation is done using the cudaMallocHost function and the deallocation is done using the cudaFreeHost function.
The documentation for this struct was generated from the following file:
- src/TNL/Allocators/CudaHost.h