File tree Expand file tree Collapse file tree
cuda_bindings/cuda/bindings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53949,7 +53949,7 @@ def sizeof(objType):
5394953949 return sizeof(cydriver.VdpOutputSurface){{endif}}
5395053950 raise TypeError("Unknown type: " + str(objType))
5395153951
53952- def _add_native_handle_getters() -> None :
53952+ cdef int _add_native_handle_getters() except?-1 :
5395353953 from cuda.bindings.utils import _add_cuda_native_handle_getter
5395453954 {{if 'CUcontext' in found_types}}
5395553955 def CUcontext_getter(CUcontext x): return <uintptr_t><void*><cydriver.CUcontext>(x._pvt_ptr[0])
@@ -54067,5 +54067,6 @@ def _add_native_handle_getters() -> None:
5406754067 def EGLSyncKHR_getter(EGLSyncKHR x): return <uintptr_t><void*><cydriver.EGLSyncKHR>(x._pvt_ptr[0])
5406854068 _add_cuda_native_handle_getter(EGLSyncKHR, EGLSyncKHR_getter)
5406954069 {{endif}}
54070+ return 0
5407054071_add_native_handle_getters()
5407154072
Original file line number Diff line number Diff line change @@ -37913,7 +37913,7 @@ def sizeof(objType):
3791337913 return sizeof(cyruntime.cudaEglStreamConnection){{endif}}
3791437914 raise TypeError("Unknown type: " + str(objType))
3791537915
37916- def _add_native_handle_getters() -> None :
37916+ cdef int _add_native_handle_getters() except?-1 :
3791737917 from cuda.bindings.utils import _add_cuda_native_handle_getter
3791837918 {{if 'cudaArray_t' in found_types}}
3791937919 def cudaArray_t_getter(cudaArray_t x): return <uintptr_t><void*><cyruntime.cudaArray_t>(x._pvt_ptr[0])
@@ -38011,5 +38011,6 @@ def _add_native_handle_getters() -> None:
3801138011 def cudaEglStreamConnection_getter(cudaEglStreamConnection x): return <uintptr_t><void*><cyruntime.cudaEglStreamConnection>(x._pvt_ptr[0])
3801238012 _add_cuda_native_handle_getter(cudaEglStreamConnection, cudaEglStreamConnection_getter)
3801338013 {{endif}}
38014+ return 0
3801438015_add_native_handle_getters()
3801538016
You can’t perform that action at this time.
0 commit comments