-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL][Graph] Add support for enabling Command-Buffer profiling #11324
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
…ling (#318) * [SYCL][Graph] Add e2e test checking profiling info Adds an e2e test that checks the profiling info from an event returned by a graph submission. Closes Issue: #96 * [SYCL][Graph] Update the implementation to support Profiling on graph execution Sycl event impl object contains a flag indicating that this event results from a graph submission. This flag was not set for every type of graph sumbission. This commit fixes this bug. Adds a extra event in the first command list associated to the CommandBuffer execution to obtain the start time of the graph execution. Modifies the urEventGetProfilingInfo function to get the CommandBuffer start time from this new event. Improves to profiling e2e test. Removes the test checking for exception throwing (unsupported feature). * [SYCL][Graph] Add resync of submit time to start time if time shift * [SYCL][Graph] Adds condition on queue prop before adding the new profiling event to CL
CUDA backend support for commandbuffer has not yet been merged, so we are disabling the test using CUDA backend in this PR.
Hi @tovinkere, could you review this PR? |
@EwanC @reble Pablo and I had a quick sync and we will create a table of all the events that must be enabled and should be the input to an implementation and validation plan. |
…lvm into command-buffer-profiling-support
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.
Some minor comments on the test
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.
oneapi-src/unified-runtime#1035 has merged, please pull in the latest changes from the sycl branch, update the UR tag as suggested, then make the ready for review.
@intel/llvm-reviewers-runtime please review when you can |
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.
Small nit, otherwise LGTM!
Co-authored-by: Steffen Larsen <[email protected]>
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.
LGTM! Small nit.
Co-authored-by: Pablo Reble <[email protected]>
@intel/llvm-gatekeepers I think this is ready to merge |
Merged PR intel#11324 introduced the ability to profile an executable graph submission. However, the specification limitation section was not updated to reflect this which is addressed in this PR.
Merged PR #11324 introduced the ability to profile an executable graph submission. However, the specification limitation section was not updated to reflect this, which is addressed in this PR.
Support for graph execution profiling