Skip to content

Commit e6439c3

Browse files
oleksandr-pavlykndgrigorian
authored andcommitted
Fixed item list indentations in docstrings from dpctl.utils
1 parent b796a27 commit e6439c3

File tree

3 files changed

+23
-22
lines changed

3 files changed

+23
-22
lines changed

dpctl/utils/__init__.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,22 @@ def intel_device_info(dev, /):
4646
dictionary otherwise. The dictionary contains
4747
the following keys:
4848
49-
device_id:
50-
32-bits device PCI identifier
51-
gpu_eu_count:
52-
Total number of execution units
53-
gpu_hw_threads_per_eu:
54-
Number of thread contexts in EU
55-
gpu_eu_simd_width:
56-
Physical SIMD width of EU
57-
gpu_slices:
58-
Total number of slices
59-
gpu_subslices_per_slice:
60-
Number of sub-slices per slice
61-
gpu_eu_count_per_subslice:
62-
Number of EUs in subslice
63-
max_mem_bandwidth:
64-
Maximum memory bandwidth in bytes/second
49+
device_id:
50+
32-bits device PCI identifier
51+
gpu_eu_count:
52+
Total number of execution units
53+
gpu_hw_threads_per_eu:
54+
Number of thread contexts in EU
55+
gpu_eu_simd_width:
56+
Physical SIMD width of EU
57+
gpu_slices:
58+
Total number of slices
59+
gpu_subslices_per_slice:
60+
Number of sub-slices per slice
61+
gpu_eu_count_per_subslice:
62+
Number of EUs in subslice
63+
max_mem_bandwidth:
64+
Maximum memory bandwidth in bytes/second
6565
6666
Unsupported descriptors are omitted from the dictionary.
6767

dpctl/utils/_compute_follows_data.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ def validate_usm_type(usm_type, /, *, allow_none=True):
153153
Specification for USM allocation type. Valid specifications
154154
are:
155155
156-
* ``"device"``
157-
* ``"shared"``
158-
* ``"host"``
156+
* ``"device"``
157+
* ``"shared"``
158+
* ``"host"``
159159
160160
If ``allow_none`` keyword argument is set, a value of
161161
``None`` is also permitted.

dpctl/utils/_onetrace_context.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@
3131
def onetrace_enabled():
3232
"""Enable ``onetrace`` collection for kernels executed in this context.
3333
34-
N.B.: Proper working of this utility assumes that Python interpreter
35-
has been launched by ``onetrace`` or ``unitrace`` tool from project
36-
`intel/pti-gpu <https://github.com/intel/pti-gpu>`_.
34+
.. note::
35+
Proper working of this utility assumes that Python interpreter
36+
has been launched by ``onetrace`` or ``unitrace`` tool from project
37+
`intel/pti-gpu <https://github.com/intel/pti-gpu>`_.
3738
3839
:Example:
3940
Launch the Python interpreter using `onetrace` tool:

0 commit comments

Comments
 (0)