NvStreams Rawstream Sample Application

The NVIDIA SDK provides a sample application to demonstrate how to use the NvSciStream API to build simple and complex streams, see the NvSciStream Sample Application chapter. This Rawstream Sample Application doesn’t use NvSciStream. Instead, it builds a simple inter-process stream from CUDA to CUDA using NvSciBuf, NvSciSync and NvSciIpc APIs directly.

Prerequisites

NvSciIpc

The sample applications stream packets between a producer process and a consumer process via an inter-process communication (NvSciIpc) channel.

The NvSciIpc channels are configured via the device tree (DT) on QNX and via a plain text file, /etc/nvsciipc.cfg, on Linux. For more information on NvSciIpc configuration data, see NvSciIpc Configuration Data. The recommended NvSciIpc channels for this sample application is as follows:

INTER_PROCESS nvscisync_a_0 nvscisync_a_1 16 24576

CUDA

This sample application uses the CUDA toolkit. Ensure the CUDA toolkit is installed. For more information, see Installing CUDA Debian Packages