Skip to content

Commit 634394d

Browse files
committed
remove references to dpctl.tensor in docstrings
1 parent 7c811b0 commit 634394d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

dpctl/_sycl_timer.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,10 @@ class SyclTimer:
134134
``device_timer`` keyword argument controls the type of tasks submitted.
135135
With ``"queue_barrier"`` value, queue barrier tasks are used. With
136136
``"order_manager"`` value, a single empty body task is inserted
137-
and order manager (used by all `dpctl.tensor` operations) is used to
138-
order these tasks so that they fence operations performed within
139-
timer's context.
137+
and order manager is used to order these tasks so that they fence
138+
operations performed within the timer's context. This requires that
139+
the order manager is used to order all tasks submitted to the queue
140+
within the timer's context.
140141
141142
Timing offloading operations that do not use the order manager with
142143
the timer that uses ``"order_manager"`` as ``device_timer`` value

dpctl/utils/_order_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def __copy__(self):
6565

6666

6767
class SyclQueueToOrderManagerMap:
68-
"""Utility class to ensure sequential ordering of offloaded
69-
tasks issued by dpctl.tensor functions"""
68+
"""Utility class used to ensure sequential ordering of offloaded tasks
69+
when passed to order manager."""
7070

7171
def __init__(self):
7272
self._map = ContextVar(

0 commit comments

Comments
 (0)