llvm
179ce1ba - [SYCL] Query device timestamp from UR for submission time (#21436)

Commit
20 days ago
[SYCL] Query device timestamp from UR for submission time (#21436) Remove submission time calculation via base device timestamp and host time delta. Such calculation is unreliable because of the clock drift between device and host and inevitably leads to breaking the specification requirement that submit time must be <= start time. Even though querying device timestamp from UR presumably costs more, it doesn't make sense to have an optimization that breaks correctness, considering that submission time recording is done only when queue has profiling enabled.
Author
Parents
Loading