Template Class MemAllocatorWithKind

Inheritance Relationships

Base Type

Class Documentation

template<NVCVResourceType KIND>
class MemAllocatorWithKind : public nvcv::MemAllocator

Provides a common implementation for different memory allocator wrappers

Public Functions

MemAllocatorWithKind() = default
MemAllocatorWithKind(const NVCVResourceAllocator &data)

Public Static Functions

static inline constexpr bool IsCompatibleKind(NVCVResourceType resType)

Public Static Attributes

static constexpr NVCVResourceType kResourceType = KIND