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 @@ -100,6 +100,8 @@ cdef void _event_capsule_deleter(object o):
100
100
)
101
101
DPCTLEvent_Delete(ERef)
102
102
103
+ cdef void _init_helper(_SyclEventRaw event, DPCTLSyclEventRef ERef):
104
+ event._event_ref = ERef
103
105
104
106
cdef class _SyclEventRaw:
105
107
""" Python wrapper class for a ``cl::sycl::event``.
@@ -113,14 +115,10 @@ cdef class SyclEventRaw(_SyclEventRaw):
113
115
""" Python wrapper class for a ``cl::sycl::event``.
114
116
"""
115
117
116
- @staticmethod
117
- cdef void _init_helper(_SyclEventRaw event, DPCTLSyclEventRef ERef):
118
- event._event_ref = ERef
119
-
120
118
@staticmethod
121
119
cdef SyclEventRaw _create(DPCTLSyclEventRef eref):
122
120
cdef _SyclEventRaw ret = _SyclEventRaw.__new__ (_SyclEventRaw)
123
- SyclEventRaw. _init_helper(ret, eref)
121
+ _init_helper(ret, eref)
124
122
return SyclEventRaw(ret)
125
123
126
124
cdef int _init_event_default(self ):
You can’t perform that action at this time.
0 commit comments