Skip to content

Commit 214b61f

Browse files
oleksandr-pavlykndgrigorian
authored andcommitted
Use sycl:: namespace for nd_range for max_work_group_sizes* properties
Incidentally, also used double quotes for Python objects used in doc-strings of these properties.
1 parent b9f5c26 commit 214b61f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dpctl/_sycl_device.pyx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -924,8 +924,8 @@ cdef class SyclDevice(_SyclDevice):
924924
@property
925925
def max_work_item_sizes1d(self):
926926
""" Returns the maximum number of work-items that are permitted in each
927-
dimension of the work-group of the nd_range<1>. The minimum value is
928-
`(1 )` for devices that evaluate to False for
927+
dimension of the work-group of the ``sycl::nd_range<1>``. The minimum
928+
value is ``(1, )`` for devices that evaluate to ``False`` for
929929
:py:attr:`~has_aspect_custom`.
930930
931931
Returns:
@@ -945,8 +945,8 @@ cdef class SyclDevice(_SyclDevice):
945945
@property
946946
def max_work_item_sizes2d(self):
947947
""" Returns the maximum number of work-items that are permitted in each
948-
dimension of the work-group of the nd_range<2>. The minimum value is
949-
`(1; 1)` for devices that evaluate to False for
948+
dimension of the work-group of the ``sycl::nd_range<2>``. The minimum
949+
value is ``(1, 1,)`` for devices that evaluate to ``False`` for
950950
:py:attr:`~has_aspect_custom`.
951951
952952
Returns:
@@ -968,8 +968,8 @@ cdef class SyclDevice(_SyclDevice):
968968
@property
969969
def max_work_item_sizes3d(self):
970970
""" Returns the maximum number of work-items that are permitted in each
971-
dimension of the work-group of the nd_range<3>. The minimum value is
972-
`(1; 1; 1)` for devices that evaluate to False for
971+
dimension of the work-group of the ``sycl::nd_range<3>``. The minimum
972+
value is ``(1, 1, 1,)`` for devices that evaluate to ``False`` for
973973
:py:attr:`~has_aspect_custom`.
974974
975975
Returns:

0 commit comments

Comments
 (0)