Skip to content

Commit 3475c74

Browse files
Spelling mistakes in dpctl module
1 parent d8b9cce commit 3475c74

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dpctl/_sycl_queue.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ cdef class SyclQueue(_SyclQueue):
903903
@property
904904
def sycl_device(self):
905905
"""
906-
Returns :class:`.SyclDevice` targeted by this queuey.
906+
Returns :class:`.SyclDevice` targeted by this queue.
907907
908908
Returns:
909909
:class:`SyclDevice`

dpctl/memory/_memory.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ cdef class _Memory:
357357
358358
* ``"data"`` (Tuple[int, bool])
359359
unified address space pointer presented as Python integer
360-
and a Boolean value of 'writeable' flag. If ``False`` the
360+
and a Boolean value of 'writable' flag. If ``False`` the
361361
allocation is read-only. The return flag is always set to
362-
writeable.
362+
writable.
363363
* ``"shape"`` (Tuple[int])
364364
Extent of array in bytes. Shape is always 1-tuple for
365365
this object.
@@ -789,7 +789,7 @@ cdef class MemoryUSMHost(_Memory):
789789
queue (Optional[:class:`dpctl.SyclQueue`]):
790790
SYCL queue associated with return allocation
791791
instance. Allocation is made in host memory accessible
792-
to all device in te SYCL context from the queue.
792+
to all device in the SYCL context from the queue.
793793
Allocation is bound to SYCL context from the queue.
794794
If ``queue`` is ``None`` a cached
795795
default-constructed :class:`dpctl.SyclQueue` is

dpctl/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def intel_device_info(dev, /):
6666
Unsupported descriptors are omitted from the dictionary.
6767
6868
Descriptors other than the PCI identifier are supported only
69-
for :class:`.SyclDevices` with Leve-Zero backend.
69+
for :class:`.SyclDevices` with Level-Zero backend.
7070
"""
7171
if not isinstance(dev, SyclDevice):
7272
raise TypeError(f"Expected dpctl.SyclDevice, got {type(dev)}")

0 commit comments

Comments
 (0)