CUresult cuGLUnmapBufferObjectAsync ( GLuint  buffer,
CUstream  hStream 
)

Deprecated:
This function is deprecated as of Cuda 3.0.
Unmaps the buffer object specified by buffer for access by CUDA.

There must be a valid OpenGL context bound to the current thread when this function is called. This must be the same context, or a member of the same shareGroup, as the context that was bound when the buffer was registered.

Stream hStream in the current CUDA context is synchronized with the current GL context.

Parameters:
buffer - Name of the buffer object to unmap
hStream - Stream to synchronize
Returns:
CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuGraphicsUnmapResources


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA