Graphics Interoperability
[CUDA Runtime API]


Functions

cudaError_t cudaGraphicsMapResources (int count, cudaGraphicsResource_t *resources, cudaStream_t stream=0)
 Map graphics resources for access by CUDA.
cudaError_t cudaGraphicsResourceGetMappedPointer (void **devPtr, size_t *size, cudaGraphicsResource_t resource)
 Get an device pointer through which to access a mapped graphics resource.
cudaError_t cudaGraphicsResourceSetMapFlags (cudaGraphicsResource_t resource, unsigned int flags)
 Set usage flags for mapping a graphics resource.
cudaError_t cudaGraphicsSubResourceGetMappedArray (struct cudaArray **array, cudaGraphicsResource_t resource, unsigned int arrayIndex, unsigned int mipLevel)
 Get an array through which to access a subresource of a mapped graphics resource.
cudaError_t cudaGraphicsUnmapResources (int count, cudaGraphicsResource_t *resources, cudaStream_t stream=0)
 Unmap graphics resources.
cudaError_t cudaGraphicsUnregisterResource (cudaGraphicsResource_t resource)
 Unregisters a graphics resource for access by CUDA.

Detailed Description

This section describes the graphics interoperability functions of the CUDA runtime application programming interface.

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA