56 #ifndef NV_VPI_CUDAINTEROP_H
57 #define NV_VPI_CUDAINTEROP_H
66 #include <cuda_runtime.h>
Declaration of VPI status codes handling functions.
Declares functions dealing with VPI streams.
Defines all types needed for programming with VPI.
Functions and structures for handling VPI library version.
void(* VPICUDAHostFunction)(cudaStream_t cudaStream, void *userData)
Pointer to a CUDA host function invoked with the stream's CUDA stream.
VPIStatus vpiSubmitCUDAHostFunction(VPIStream stream, VPICUDAHostFunction hostFunc, void *userData)
Submits a CUDA host function to run on the stream in submission order.
struct VPIStreamImpl * VPIStream
A handle to a stream.
VPIStatus vpiStreamCreateWrapperCUDA(CUstream cudaStream, uint64_t flags, VPIStream *stream)
Wraps an existing cudaStream_t into a VPI stream.