In addition to using the ImageStreamer module in a single thread, you can also use it across multiple threads.
This workflow is similar to the single thread case since the same APIs are thread safe.
For details on how to stream an image from CPU to CUDA memory, please refer to
Image Streamer. All other details are left out of this tutorial for simplicity.
In the following example, the ImageStreamer is initialized in Thread A before it is used to send images:
After sending the images from Thread A, retrieve the output from Thread B:
To see a full demonstration of this workflow, please refer to Multi-Thread Image Streamer Sample.