Graphics Interoperability
[CUDA Runtime API]


Functions

cudaError_t cudaGraphicsMapResources (int count, struct cudaGraphicsResource **resources, cudaStream_t stream)
 Map graphics resources for access by CUDA.
cudaError_t cudaGraphicsResourceGetMappedPointer (void **devPtr, size_t *size, struct cudaGraphicsResource *resource)
 Get an device pointer through which to access a mapped graphics resource.
cudaError_t cudaGraphicsResourceSetMapFlags (struct cudaGraphicsResource *resource, unsigned int flags)
 Set usage flags for mapping a graphics resource.
cudaError_t cudaGraphicsSubResourceGetMappedArray (cudaArray **array, struct cudaGraphicsResource *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, struct cudaGraphicsResource **resources, cudaStream_t stream)
 Unmap graphics resources.
cudaError_t cudaGraphicsUnregisterResource (struct cudaGraphicsResource *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