Template Class CustomMemAllocator
Defined in File Allocator.hpp
Nested Relationships
Nested Types
Class Documentation
-
template<typename AllocatorType>
class CustomMemAllocator Marshals a set of allocation/deallocation functions as NVCVResourceAllocator
A
CustomMemAllocator
is passed as a constructor argument toCustomAllocator
.Note
This class should not be used directly. Use one of the following typedefs:
CustomHostMemAllocator
CustomHostPinnedMemAllocator
CustomCudaMemAllocator
- Template Parameters:
AllocatorType – the type of the allocator (one of: HostMemAllocator, HostPinnedMemAllocator, CudaMemAllocator)