NVIDIA Holoscan SDK v.2.2.0
Holoscan v2.2.0

Class CudaStreamPool

class CudaStreamPool : public holoscan::Allocator

CUDA stream pool allocator.

An allocator that creates a pool of CUDA streams.

Public Functions

template<typename ArgT, typename ...ArgsT, typename = std::enable_if_t<!std::is_base_of_v<::holoscan::Resource, std::decay_t<ArgT>> && (std::is_same_v<::holoscan::Arg, std::decay_t<ArgT>> || std::is_same_v<::holoscan::ArgList, std::decay_t<ArgT>>)>>
inline CudaStreamPool(ArgT &&arg, ArgsT&&... args)
CudaStreamPool() = default
inline CudaStreamPool(int32_t dev_id, uint32_t stream_flags, int32_t stream_priority, uint32_t reserved_size, uint32_t max_size)
CudaStreamPool(const std::string &name, nvidia::gxf::CudaStreamPool *component)
inline virtual const char *gxf_typename() const override
virtual void setup(ComponentSpec &spec) override

Define the resource specification.


spec – The reference to the component specification.

nvidia::gxf::CudaStreamPool *get() const

Previous Class CudaStreamHandler
Next Class DataExporter
© Copyright 2022-2024, NVIDIA. Last updated on Jul 17, 2024.