Skip to content

Commit a1cf19b

Browse files
Fix docstring for SyclTimer
1 parent 2abb03c commit a1cf19b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dpctl/_sycl_timer.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ class SyclTimer:
4646
sycl_dt, wall_dt = timer.dt
4747
4848
Remark:
49-
The timer synchronizes the queue at the entrance and the
50-
exit of the context.
49+
The timer synchronizes the queue at the entrance and the
50+
exit of the context.
5151
5252
Args:
53-
host_timer (callable): A callable such that host_timer() returns current
54-
host time in seconds.
55-
time_scale (int, float): Ratio of the unit of time of interest and
56-
one second.
53+
host_timer (callable): A callable such that host_timer() returns current
54+
host time in seconds.
55+
time_scale (int, float): Ratio of the unit of time of interest and
56+
one second.
5757
"""
5858

5959
def __init__(self, host_timer=timeit.default_timer, time_scale=1):

0 commit comments

Comments
 (0)