File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ cdef class _SyclEventRaw:
42
42
cdef public class SyclEventRaw(_SyclEventRaw) [object PySyclEventRawObject, type PySyclEventRawType]:
43
43
@staticmethod
44
44
cdef SyclEventRaw _create (DPCTLSyclEventRef event)
45
- @staticmethod
46
- cdef void _init_helper(_SyclEventRaw event, DPCTLSyclEventRef ERef)
47
45
cdef int _init_event_default(self )
48
46
cdef int _init_event_from__SyclEventRaw(self , _SyclEventRaw other)
49
47
cdef int _init_event_from_SyclEvent(self , SyclEvent event)
Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ cdef void _event_capsule_deleter(object o):
93
93
)
94
94
DPCTLEvent_Delete(ERef)
95
95
96
+ cdef void _init_helper(_SyclEventRaw event, DPCTLSyclEventRef ERef):
97
+ event._event_ref = ERef
96
98
97
99
cdef class _SyclEventRaw:
98
100
""" Python wrapper class for a ``cl::sycl::event``.
@@ -106,14 +108,10 @@ cdef class SyclEventRaw(_SyclEventRaw):
106
108
""" Python wrapper class for a ``cl::sycl::event``.
107
109
"""
108
110
109
- @staticmethod
110
- cdef void _init_helper(_SyclEventRaw event, DPCTLSyclEventRef ERef):
111
- event._event_ref = ERef
112
-
113
111
@staticmethod
114
112
cdef SyclEventRaw _create(DPCTLSyclEventRef eref):
115
113
cdef _SyclEventRaw ret = _SyclEventRaw.__new__ (_SyclEventRaw)
116
- SyclEventRaw. _init_helper(ret, eref)
114
+ _init_helper(ret, eref)
117
115
return SyclEventRaw(ret)
118
116
119
117
cdef int _init_event_default(self ):
You can’t perform that action at this time.
0 commit comments