File: generated_cudaGL_meta.h

package info (click to toggle)
nvidia-cuda-toolkit 12.4.1-3
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 18,505,836 kB
  • sloc: ansic: 203,477; cpp: 64,769; python: 34,699; javascript: 22,006; xml: 13,410; makefile: 3,085; sh: 2,343; perl: 352
file content (116 lines) | stat: -rw-r--r-- 3,115 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
// This file is generated.  Any changes you make will be lost during the next clean build.

// Dependent includes
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif

// CUDA public interface, for type definitions and cu* function prototypes
#include "cudaGL.h"


// *************************************************************************
//      Definitions of structs to hold parameters for each function
// *************************************************************************

typedef struct cuGraphicsGLRegisterBuffer_params_st {
    CUgraphicsResource *pCudaResource;
    GLuint buffer;
    unsigned int Flags;
} cuGraphicsGLRegisterBuffer_params;

typedef struct cuGraphicsGLRegisterImage_params_st {
    CUgraphicsResource *pCudaResource;
    GLuint image;
    GLenum target;
    unsigned int Flags;
} cuGraphicsGLRegisterImage_params;

typedef struct cuGLGetDevices_v2_params_st {
    unsigned int *pCudaDeviceCount;
    CUdevice *pCudaDevices;
    unsigned int cudaDeviceCount;
    CUGLDeviceList deviceList;
} cuGLGetDevices_v2_params;

typedef struct cuGLCtxCreate_v2_params_st {
    CUcontext *pCtx;
    unsigned int Flags;
    CUdevice device;
} cuGLCtxCreate_v2_params;

typedef struct cuGLRegisterBufferObject_params_st {
    GLuint buffer;
} cuGLRegisterBufferObject_params;

typedef struct cuGLMapBufferObject_v2_ptds_params_st {
    CUdeviceptr *dptr;
    size_t *size;
    GLuint buffer;
} cuGLMapBufferObject_v2_ptds_params;

typedef struct cuGLUnmapBufferObject_params_st {
    GLuint buffer;
} cuGLUnmapBufferObject_params;

typedef struct cuGLUnregisterBufferObject_params_st {
    GLuint buffer;
} cuGLUnregisterBufferObject_params;

typedef struct cuGLSetBufferObjectMapFlags_params_st {
    GLuint buffer;
    unsigned int Flags;
} cuGLSetBufferObjectMapFlags_params;

typedef struct cuGLMapBufferObjectAsync_v2_ptsz_params_st {
    CUdeviceptr *dptr;
    size_t *size;
    GLuint buffer;
    CUstream hStream;
} cuGLMapBufferObjectAsync_v2_ptsz_params;

typedef struct cuGLUnmapBufferObjectAsync_params_st {
    GLuint buffer;
    CUstream hStream;
} cuGLUnmapBufferObjectAsync_params;

typedef struct cuGLGetDevices_params_st {
    unsigned int *pCudaDeviceCount;
    CUdevice *pCudaDevices;
    unsigned int cudaDeviceCount;
    CUGLDeviceList deviceList;
} cuGLGetDevices_params;

typedef struct cuGLMapBufferObject_v2_params_st {
    CUdeviceptr *dptr;
    size_t *size;
    GLuint buffer;
} cuGLMapBufferObject_v2_params;

typedef struct cuGLMapBufferObjectAsync_v2_params_st {
    CUdeviceptr *dptr;
    size_t *size;
    GLuint buffer;
    CUstream hStream;
} cuGLMapBufferObjectAsync_v2_params;

typedef struct cuGLCtxCreate_params_st {
    CUcontext *pCtx;
    unsigned int Flags;
    CUdevice device;
} cuGLCtxCreate_params;

typedef struct cuGLMapBufferObject_params_st {
    CUdeviceptr_v1 *dptr;
    unsigned int *size;
    GLuint buffer;
} cuGLMapBufferObject_params;

typedef struct cuGLMapBufferObjectAsync_params_st {
    CUdeviceptr_v1 *dptr;
    unsigned int *size;
    GLuint buffer;
    CUstream hStream;
} cuGLMapBufferObjectAsync_params;