File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,13 @@ class SyclTimer:
46
46
sycl_dt, wall_dt = timer.dt
47
47
48
48
Remark:
49
- The timer synchronizes the queue at the entrance and the
50
- exit of the context.
49
+ The timer submits barriers to the queue at the entrance and the
50
+ exit of the context and uses profiling information from events
51
+ associated with these submissions to perform the timing. Thus
52
+ :class:`dpctl.SyclTimer` requires the queue with "enable_profiling"
53
+ property. In order to be able to collect the profiling information
54
+ the property `dt` ensures that both submitted barriers complete
55
+ their execution and thus effectively synchronizing the queue.
51
56
52
57
Args:
53
58
host_timer (callable): A callable such that host_timer() returns current
You can’t perform that action at this time.
0 commit comments