File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 19
19
20
20
from .._backend cimport DPCTLSyclWorkGroupMemoryRef
21
21
22
+
22
23
cdef public api class _WorkGroupMemory [
23
24
object Py_WorkGroupMemoryObject, type Py_WorkGroupMemoryType
24
25
]:
@@ -28,4 +29,3 @@ cdef public api class WorkGroupMemory(_WorkGroupMemory) [
28
29
object PyWorkGroupMemoryObject, type PyWorkGroupMemoryType
29
30
]:
30
31
pass
31
-
Original file line number Diff line number Diff line change 19
19
# cython: linetrace=True
20
20
21
21
from .._backend cimport (
22
+ DPCTLWorkGroupMemory_Available,
22
23
DPCTLWorkGroupMemory_Create,
23
24
DPCTLWorkGroupMemory_Delete,
24
- DPCTLWorkGroupMemory_Available
25
25
)
26
26
27
+
27
28
cdef class _WorkGroupMemory:
28
29
def __dealloc__ (self ):
29
30
if (self ._mem_ref):
@@ -32,7 +33,7 @@ cdef class _WorkGroupMemory:
32
33
cdef class WorkGroupMemory:
33
34
"""
34
35
WorkGroupMemory(nbytes)
35
- Python class representing the ``work_group_memory`` class from the
36
+ Python class representing the ``work_group_memory`` class from the
36
37
Workgroup Memory oneAPI SYCL extension for low-overhead allocation of local
37
38
memory shared by the workitems in a workgroup.
38
39
@@ -56,6 +57,4 @@ cdef class WorkGroupMemory:
56
57
pointer as a ``size_t``.
57
58
"""
58
59
def __get__ (self ):
59
- return < size_t> self ._mem_ref
60
-
61
-
60
+ return < size_t> self ._mem_ref
Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
- """Defines unit test cases for the SyclProgram and SyclKernel classes
18
- """
17
+ """Defines unit test cases for the SyclProgram and SyclKernel classes"""
19
18
20
19
import os
21
20
You can’t perform that action at this time.
0 commit comments