Skip to content

Commit 6ee2b23

Browse files
oleksandr-pavlykndgrigorian
authored andcommitted
Fix typos found during review
1 parent 211ddfd commit 6ee2b23

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dpctl/_sycl_device.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ cdef class SyclDevice(_SyclDevice):
814814
815815
Returns:
816816
int:
817-
Maximum heigth of a 3D image in pixels.
817+
Maximum height of a 3D image in pixels.
818818
"""
819819
return DPCTLDevice_GetImage3dMaxHeight(self._device_ref)
820820

dpctl/_sycl_queue.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ cdef class SyclQueue(_SyclQueue):
961961
962962
.. note::
963963
The ``host_task`` attempts to acquire Python GIL, and it is
964-
known to be unsafe during interpreter shudown sequence. It is
964+
known to be unsafe during interpreter shutdown sequence. It is
965965
thus strongly advised to ensure that all submitted ``host_task``
966966
complete before the end of the Python script.
967967
"""

dpctl/tensor/_ctors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def asarray(
490490
boolean indicating whether or not to copy the
491491
input. If ``True``, always creates a copy. If ``False``, the
492492
need to copy raises :exc:`ValueError`. If ``None``, tries to reuse
493-
existing memory allocations if possible, but allowes to perform
493+
existing memory allocations if possible, but allows to perform
494494
a copy otherwise. Default: ``None``
495495
order (``"C"``, ``"F"``, ``"A"``, ``"K"``, optional):
496496
memory layout of the output array. Default: ``"K"``

dpctl/tensor/_usmarray.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ cdef class usm_ndarray:
113113
:class:`dpctl.memory.MemoryUSMShared`, or
114114
:class:`dpctl.memory.MemoryUSMHost`. Recognized strings are
115115
``"device"``, ``"shared"``, or ``"host"``. Additional arguments to
116-
the USM memory alloctors can be passed in a dictionary specified
116+
the USM memory allocators can be passed in a dictionary specified
117117
via ``buffer_ctor_kwrds`` keyword parameter.
118118
Default: ``"device"``.
119119
offset (int, optional):

dpctl/utils/_compute_follows_data.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def get_coerced_usm_type(usm_types, /):
8989
9090
Args:
9191
usm_types (List[str]):
92-
a list or a tuple of strings of ``.usm_types`` atributes
92+
a list or a tuple of strings of ``.usm_types`` attributes
9393
for input arrays
9494
9595
Returns:

0 commit comments

Comments
 (0)