Unregisters the buffer object of ID bufObj
for access by CUDA and releases any CUDA resources associated with the buffer. Once a buffer is unregistered, it may no longer be mapped by CUDA. The GL context used to create the buffer, or another context from the same share group, must be bound to the current thread when this is called.
- Parameters:
-
| bufObj | - Buffer object to unregister |
- Returns:
- cudaSuccess
- Note:
- Note that this function may also return error codes from previous, asynchronous launches.
- See also:
- cudaGLSetGLDevice, cudaGLRegisterBufferObject, cudaGLMapBufferObject, cudaGLUnmapBufferObject