Functions | |
CUresult | cuGLCtxCreate (CUcontext *pCtx, unsigned int Flags, CUdevice device) |
Create a CUDA context for interoperability with OpenGL. | |
CUresult | cuGLInit (void) |
Initializes OpenGL interoperability. | |
CUresult | cuGLMapBufferObject (CUdeviceptr *dptr, unsigned int *size, GLuint bufferObj) |
Maps an OpenGL buffer object. | |
CUresult | cuGLRegisterBufferObject (GLuint bufferObj) |
Registers an OpenGL buffer object. | |
CUresult | cuGLUnmapBufferObject (GLuint bufferObj) |
Unmaps an OpenGL buffer object. | |
CUresult | cuGLUnregisterBufferObject (GLuint bufferObj) |
Unregister an OpenGL buffer object. | |
CUresult | cuWGLGetDevice (CUdevice *pDevice, HGPUNV hGpu) |
Gets the CUDA device associated with hGpu. |