Modules | |
OpenGL Interoperability [DEPRECATED] | |
Enumerations | |
enum | cudaGLMapFlags { cudaGLMapFlagsNone = 0, cudaGLMapFlagsReadOnly = 1, cudaGLMapFlagsWriteDiscard = 2 } |
Functions | |
cudaError_t | cudaGLSetGLDevice (int device) |
Sets the CUDA device for use with OpenGL interoperability. | |
cudaError_t | cudaGraphicsGLRegisterBuffer (struct cudaGraphicsResource **resource, GLuint buffer, unsigned int flags) |
Registers an OpenGL buffer object. | |
cudaError_t | cudaGraphicsGLRegisterImage (struct cudaGraphicsResource **resource, GLuint image, GLenum target, unsigned int flags) |
Register an OpenGL texture or renderbuffer object. | |
cudaError_t | cudaWGLGetDevice (int *device, HGPUNV hGpu) |
Gets the CUDA device associated with hGpu. |