Graphics Interoperability
[CUDA Driver API]


Functions

CUresult cuGraphicsMapResources (unsigned int count, CUgraphicsResource *resources, CUstream hStream)
 Map graphics resources for access by CUDA.
CUresult cuGraphicsResourceGetMappedPointer (CUdeviceptr *pDevPtr, size_t *pSize, CUgraphicsResource resource)
 Get a device pointer through which to access a mapped graphics resource.
CUresult cuGraphicsResourceSetMapFlags (CUgraphicsResource resource, unsigned int flags)
 Set usage flags for mapping a graphics resource.
CUresult cuGraphicsSubResourceGetMappedArray (CUarray *pArray, CUgraphicsResource resource, unsigned int arrayIndex, unsigned int mipLevel)
 Get an array through which to access a subresource of a mapped graphics resource.
CUresult cuGraphicsUnmapResources (unsigned int count, CUgraphicsResource *resources, CUstream hStream)
 Unmap graphics resources.
CUresult cuGraphicsUnregisterResource (CUgraphicsResource resource)
 Unregisters a graphics resource for access by CUDA.

Detailed Description

This section describes the graphics interoperability functions of the low-level CUDA driver application programming interface.

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA