-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL][L0] Report events as submitted, not running, until they are completed #9094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…mpleted Signed-off-by: Sergey V Maslov <[email protected]>
// NOTE: We currently cannot tell if command is currently running, so | ||
// it will always show up "submitted" before it is finally "completed". | ||
// | ||
pi_int32 Result = PI_EVENT_SUBMITTED; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would doing this mess with timings, for applications querying for the submit_time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so. This is returning "status", not time. So, an event status can now being either "submitted" or "completed". There is a separate interface for querying timestamps of a kernel for all "submit", "start", "end" times:
llvm/sycl/plugins/level_zero/pi_level_zero.cpp
Line 5104 in 836ceec
case PI_PROFILING_INFO_COMMAND_START: { |
This is a know issue: #9008 |
intel#9094 Signed-off-by: Jaime Arteaga <[email protected]>
intel#9094 Signed-off-by: Jaime Arteaga <[email protected]>
intel#9094 Signed-off-by: Jaime Arteaga <[email protected]>
intel#9094 Signed-off-by: Jaime Arteaga <[email protected]>
intel#9094 Signed-off-by: Jaime Arteaga <[email protected]>
intel#9094 Signed-off-by: Jaime Arteaga <[email protected]>
No description provided.