holoscan::utils::transmit_data_per_model
holoscan::utils::transmit_data_per_model
holoscan::utils::transmit_data_per_model
Transmits multiple buffers via GXF Transmitters.
This version of transmit_data_per_model uses the legacy CudaStreamHandler utility. Use the variant without a cuda_stream_handler argument to use the built-in CudaObjectHandler instead.
Returns: GXF result code
Parameters
GXF context for transmission
Map of model name as key, mapped to a vector of tensor names
Map of tensor name as key, mapped to the data buffer as a vector
Output context. Assume that the output port’s name is “transmitter”.
Output tensor names
Map is updated with model name as key mapped to dimension of output tensor as a vector
Flag to demonstrate if memory storage of input buffers is on CUDA
Flag to demonstrate if memory storage of output message is on CUDA
GXF Memory allocator
Module that called for data transmission
Cuda stream handler