Skip to content

Commit d0b076e

Browse files
committed
Attempt to fix bindings
1 parent 26dec0e commit d0b076e

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

cuda_bindings/cuda/bindings/cyruntime.pxd

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,17 +1302,15 @@ cdef enum cudaEglColorFormat_enum:
13021302
cudaEglColorFormatUYVY2020 = 116
13031303
ctypedef cudaEglColorFormat_enum cudaEglColorFormat
13041304

1305-
cdef extern from 'cuda_gl_interop.h':
1306-
cdef enum cudaGLDeviceList:
1307-
cudaGLDeviceListAll
1308-
cudaGLDeviceListCurrentFrame
1309-
cudaGLDeviceListNextFrame
1310-
1311-
cdef extern from 'cuda_gl_interop.h':
1312-
cdef enum cudaGLMapFlags:
1313-
cudaGLMapFlagsNone
1314-
cudaGLMapFlagsReadOnly
1315-
cudaGLMapFlagsWriteDiscard
1305+
cdef enum cudaGLDeviceList:
1306+
cudaGLDeviceListAll = 1
1307+
cudaGLDeviceListCurrentFrame = 2
1308+
cudaGLDeviceListNextFrame = 3
1309+
1310+
cdef enum cudaGLMapFlags:
1311+
cudaGLMapFlagsNone = 0
1312+
cudaGLMapFlagsReadOnly = 1
1313+
cudaGLMapFlagsWriteDiscard = 2
13161314

13171315
cdef extern from 'library_types.h':
13181316
cdef enum cudaEmulationStrategy_t:

0 commit comments

Comments
 (0)