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

Maps a set of interop resources for use with CUDA. hObjects points to an array of count object handles. The graphics driver associated with the resource is synchronized with the stream specified by hStream.

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