Linux repositories inspector

cudaGL.h(3)

version 6.0
8 Feb 2019

nvidia-cuda-dev

NVIDIA CUDA development files

cuda

NVIDIA's GPU programming toolkit

NAME

cudaGL.h - Header file for the OpenGL interoperability functions of the low-level CUDA driver application programming interface.

SYNOPSIS

Defines

#define __CUDA_DEPRECATED

Enumerations

enum CUGLDeviceList { CU_GL_DEVICE_LIST_ALL = 0x01, CU_GL_DEVICE_LIST_CURRENT_FRAME = 0x02, CU_GL_DEVICE_LIST_NEXT_FRAME = 0x03 }
enum CUGLmap_flags

Functions

__CUDA_DEPRECATED CUresult cuGLCtxCreate (CUcontext *pCtx, unsigned int Flags, CUdevice device)
Create a CUDA context for interoperability with OpenGL. CUresult cuGLGetDevices (unsigned int *pCudaDeviceCount, CUdevice *pCudaDevices, unsigned int cudaDeviceCount, CUGLDeviceList deviceList)
Gets the CUDA devices associated with the current OpenGL context. __CUDA_DEPRECATED CUresult cuGLInit (void)
Initializes OpenGL interoperability. __CUDA_DEPRECATED CUresult cuGLMapBufferObject (CUdeviceptr *dptr, size_t *size, GLuint buffer)
Maps an OpenGL buffer object. __CUDA_DEPRECATED CUresult cuGLMapBufferObjectAsync (CUdeviceptr *dptr, size_t *size, GLuint buffer, CUstream hStream)
Maps an OpenGL buffer object. __CUDA_DEPRECATED CUresult cuGLRegisterBufferObject (GLuint buffer)
Registers an OpenGL buffer object. __CUDA_DEPRECATED CUresult cuGLSetBufferObjectMapFlags (GLuint buffer, unsigned int Flags)
Set the map flags for an OpenGL buffer object. __CUDA_DEPRECATED CUresult cuGLUnmapBufferObject (GLuint buffer)
Unmaps an OpenGL buffer object. __CUDA_DEPRECATED CUresult cuGLUnmapBufferObjectAsync (GLuint buffer, CUstream hStream)
Unmaps an OpenGL buffer object. __CUDA_DEPRECATED CUresult cuGLUnregisterBufferObject (GLuint buffer)
Unregister an OpenGL buffer object. CUresult cuGraphicsGLRegisterBuffer (CUgraphicsResource *pCudaResource, GLuint buffer, unsigned int Flags)
Registers an OpenGL buffer object. CUresult cuGraphicsGLRegisterImage (CUgraphicsResource *pCudaResource, GLuint image, GLenum target, unsigned int Flags)
Register an OpenGL texture or renderbuffer object. CUresult cuWGLGetDevice (CUdevice *pDevice, HGPUNV hGpu)
Gets the CUDA device associated with hGpu.

Define Documentation

#define __CUDA_DEPRECATED

CUDA API versioning support

Author

Generated automatically by Doxygen from the source code.
⇧ Top