cuGLUnmapResources ( unsigned int  count,
CUinteropObject hObjects,
CUstream  hStream 
)

Unmaps a set of objects for use with CUDA. hObjects points to an array of count objects. The graphics driver associated with the objects is synchronized with the stream specified by hStream. After this function returns, the interop resources may not be accessed by CUDA.

Parameters:
count - The length of array hObjects
hObjects - An array of handles of objects to be mapped
hStream - The stream in which to perform this operation
Returns:
CUDA_SUCCESS, CUDA_ERROR_INVALID_HANDLE, CUDA_ERROR_ALREADY_MAPPED, CUDA_ERROR_INVALID_CONTEXT,
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuGLCtxCreate, cuGLInit, cuGLMapBufferObject, cuGLRegisterBufferObject, cuGLUnregisterBufferObject, cuGLUnmapBufferObject, cuGLMapBufferObjectAsync, cuGLUnmapBufferObjectAsync, cuWGLGetDevice


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA