VPI - Vision Programming Interface

1.2 Release

CUDAInterop.h File Reference

Functions and structures for handling CUDA interoperability with VPI. More...

#include "Array.h"
#include "Event.h"
#include "Export.h"
#include "Image.h"
#include "ImageFormat.h"
#include "Status.h"
#include "Stream.h"
#include "Types.h"
#include "Version.h"
#include <cuda.h>
#include <stdint.h>
+ Include dependency graph for CUDAInterop.h:

Go to the source code of this file.

Functions

VPIStatus vpiImageCreateCUDAMemWrapper (const VPIImageData *cudaData, uint32_t flags, VPIImage *img)
 Create an image object by wrapping around an existing device (CUDA) memory block. More...
 
VPIStatus vpiImageSetWrappedCUDAMem (VPIImage img, const VPIImageData *hostData)
 Redefines the wrapped device (CUDA) memory in an existing VPIImage wrapper. More...
 
VPIStatus vpiEventCreateCUDAEventWrapper (CUevent cudaEvent, VPIEvent *event)
 Create an event object by wrapping around an existing CUDA CUevent object. More...
 
VPIStatus vpiArrayCreateCUDAMemWrapper (const VPIArrayData *arrayData, uint32_t flags, VPIArray *array)
 Create an array object by wrapping an existing device (CUDA) memory block. More...
 
VPIStatus vpiArraySetWrappedCUDAMem (VPIArray array, const VPIArrayData *arrayData)
 Redefines the wrapped device (CUDA) memory in an existing VPIArray wrapper. More...
 
VPIStatus vpiStreamCreateCUDAStreamWrapper (CUstream cudaStream, uint32_t flags, VPIStream *stream)
 Wraps an existing cudaStream_t into a VPI stream. More...
 

Detailed Description

Functions and structures for handling CUDA interoperability with VPI.

Definition in file CUDAInterop.h.