-
Notifications
You must be signed in to change notification settings - Fork 123
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
[EXP][CMDBUF] Add support for recovering CommandBuffer profiling information #1035
Conversation
Linked DPC++ PR: intel/llvm#11324 |
7cf777a
to
4808c63
Compare
@jandres742 Could you take another look at this PR and see if the responses to your questions are satisfactory. |
I have updated the target branch of this PR from the |
@jandres742 reminder that this PR is waiting on your review. |
Adds an extra event in the first command list associated to the CommandBuffer execution to obtain the start time of the graph execution.
Get the command-buffer start and end timestamps from this memory. Move events reset from the middle command list to the first to allow the copy of the profiling info in the last command list and relax command list order.
465197a
to
35b6a5e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1035 +/- ##
==========================================
- Coverage 15.74% 15.73% -0.01%
==========================================
Files 223 223
Lines 31478 31477 -1
Branches 3558 3558
==========================================
- Hits 4955 4954 -1
Misses 26472 26472
Partials 51 51 ☔ View full report in Codecov by Sentry. |
Copy command-buffer event timestamps into a dedicated USM memory region.
Get the command-buffer start and end timestamps from this memory.
Move events reset from the middle command list to the first to allow the copy of the profiling info in the last command list and relax command list order.