This tutorial demonstrates how to stream an image from host (CPU) memory, to device (CUDA) memory.
The ImageStreamer module is accessed through a handle:
To create an image for streaming:
Once an image is creating for streaming, an ImageStreamer must be initialized to stream the CPU image to CUDA.
In the following example, the dwImageStreamerHandle_t handle initializes the ImageCapture module to stream
an image with cpuProp
image properties to type dwImageCUDA:
To stream the image:
An image must be returned once streaming to CUDA memory is complete:
To release the handle:
To see a full demonstration of this workflow, please refer to Simple Image Streamer Sample.