Class BlockMemoryPool
Defined in File block_memory_pool.hpp
Base Type
public holoscan::Allocator
(Class Allocator)
-
class BlockMemoryPool : public holoscan::Allocator
Block memory pool allocator.
This is a memory pool which provides a user-specified number of equally sized blocks of memory.
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 BlockMemoryPool(ArgT &&arg, ArgsT&&... args)
- BlockMemoryPool() = default
- inline BlockMemoryPool(int32_t storage_type, uint64_t block_size, uint64_t num_blocks)
- BlockMemoryPool(const std::string &name, nvidia::gxf::BlockMemoryPool *component)
- inline virtual const char *gxf_typename() const override
-
virtual void setup(ComponentSpec &spec) override
Define the resource specification.
- Parameters
spec – The reference to the component specification.
-
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>>)>>