You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][host_task] Align host_task event submission clock with start/end clock (#18377)
The submission time for host_task events was previously obtained using
`std::chrono::steady_clock`, while the command start and end times were
derived from `high_resolution_clock`. This discrepancy in clock epochs
led to meaningless duration calculations when users used submission time
as a reference.
This update standardizes the clock source by switching the submission
time to use `high_resolution_clock`, ensuring consistent and meaningful
timing results for host_task events.
Note: `steady_clock` is not related to wall clock. See
https://en.cppreference.com/w/cpp/chrono/steady_clock
0 commit comments