-
Notifications
You must be signed in to change notification settings - Fork 0
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] Support for Node Profiling #5
Conversation
Also document limitations of this implementation in CONTRIB.rst
… cmdbuf-node-profiling
Linked DPC++ PR : reble/llvm#353 |
- type: size_t* | ||
name: pPropSizeRet | ||
desc: "[out][optional] pointer to the actual size in bytes returned in propValue" | ||
returns: |
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.
Could have an error $X_RESULT_ERROR_INVALID_COMMAND_BUFFER_SYNC_POINT_EXP
if syncPoint
doesn't correspond to a graph node in event.
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.
This error has been added.
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.
thanks, could have a sub-bullet point describing when this error is returned
// Get SyncPoint profiling information | ||
${x}_event_handle_t event; | ||
|
||
${x}CommandBufferEnqueueExp(hCommandBuffer, hQueue, 0, nullptr, |
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.
Need to call ${x}CommandBufferFinalizeExp
before this
- type: size_t* | ||
name: pPropSizeRet | ||
desc: "[out][optional] pointer to the actual size in bytes returned in propValue" | ||
returns: |
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.
thanks, could have a sub-bullet point describing when this error is returned
UR Upstream PR: oneapi-src#1309 |
urEventGetSyncPointProfilingInfoExp
. This function queries the profiling information of a sync-point. It takes the handle of the event returned from the graph submission and the sync-point associated with the node from which we want to obtain the profiling information.