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 1919
2020from .._backend cimport DPCTLSyclWorkGroupMemoryRef
2121
22+
2223cdef public api class _WorkGroupMemory [
2324 object Py_WorkGroupMemoryObject, type Py_WorkGroupMemoryType
2425]:
@@ -28,4 +29,3 @@ cdef public api class WorkGroupMemory(_WorkGroupMemory) [
2829 object PyWorkGroupMemoryObject, type PyWorkGroupMemoryType
2930]:
3031 pass
31-
Original file line number Diff line number Diff line change 1919# cython: linetrace=True
2020
2121from .._backend cimport (
22+ DPCTLWorkGroupMemory_Available,
2223 DPCTLWorkGroupMemory_Create,
2324 DPCTLWorkGroupMemory_Delete,
24- DPCTLWorkGroupMemory_Available
2525)
2626
27+
2728cdef class _WorkGroupMemory:
2829 def __dealloc__ (self ):
2930 if (self ._mem_ref):
@@ -32,7 +33,7 @@ cdef class _WorkGroupMemory:
3233cdef class WorkGroupMemory:
3334 """
3435 WorkGroupMemory(nbytes)
35- Python class representing the ``work_group_memory`` class from the
36+ Python class representing the ``work_group_memory`` class from the
3637 Workgroup Memory oneAPI SYCL extension for low-overhead allocation of local
3738 memory shared by the workitems in a workgroup.
3839
@@ -56,6 +57,4 @@ cdef class WorkGroupMemory:
5657 pointer as a ``size_t``.
5758 """
5859 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 1414# See the License for the specific language governing permissions and
1515# limitations under the License.
1616
17- """Defines unit test cases for the SyclProgram and SyclKernel classes
18- """
17+ """Defines unit test cases for the SyclProgram and SyclKernel classes"""
1918
2019import os
2120
You can’t perform that action at this time.
0 commit comments