Class Allocator

Base Type

Derived Types

class Allocator : public holoscan::gxf::GXFResource

Subclassed by holoscan::BlockMemoryPool, holoscan::CudaStreamPool, holoscan::UnboundedAllocator

Public Functions

template<typename ArgT, typename ...ArgsT, typename = std::enable_if_t<!std::is_base_of_v<Resource, std::decay_t<ArgT>> && (std::is_same_v<Arg, std::decay_t<ArgT>> || std::is_same_v<ArgList, std::decay_t<ArgT>>)>>
inline Allocator(ArgT &&arg, ArgsT&&... args)

Allocator() = default

inline virtual const char *gxf_typename() const override

inline virtual bool is_available(uint64_t size)

inline std::byte *allocate(uint64_t size, MemoryStorageType type)

inline void free(std::byte *pointer)

© Copyright 2022, NVIDIA. Last updated on Jun 28, 2023.