You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch turns all of the values returned by urEventGetProfilingInfo
to be optional and updates adapters to handle this by returning the
appropriate enum when it is not supported.
The tests have also been updated, to ensure that returning a counter of
"0" or values equal to the previous profiling event is no longer
considered a failure.
Copy file name to clipboardExpand all lines: scripts/core/event.yml
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -117,15 +117,15 @@ name: $x_profiling_info_t
117
117
typed_etors: True
118
118
etors:
119
119
- name: COMMAND_QUEUED
120
-
desc: "[uint64_t] A 64-bit value of current device counter in nanoseconds when the event is enqueued"
120
+
desc: "[uint64_t][optional-query] A 64-bit value of current device counter in nanoseconds when the event is enqueued"
121
121
- name: COMMAND_SUBMIT
122
-
desc: "[uint64_t] A 64-bit value of current device counter in nanoseconds when the event is submitted"
122
+
desc: "[uint64_t][optional-query] A 64-bit value of current device counter in nanoseconds when the event is submitted"
123
123
- name: COMMAND_START
124
-
desc: "[uint64_t] A 64-bit value of current device counter in nanoseconds when the event starts execution"
124
+
desc: "[uint64_t][optional-query] A 64-bit value of current device counter in nanoseconds when the event starts execution"
125
125
- name: COMMAND_END
126
-
desc: "[uint64_t] A 64-bit value of current device counter in nanoseconds when the event has finished execution"
126
+
desc: "[uint64_t][optional-query] A 64-bit value of current device counter in nanoseconds when the event has finished execution"
127
127
- name: COMMAND_COMPLETE
128
-
desc: "[uint64_t] A 64-bit value of current device counter in nanoseconds when the event and any child events enqueued by this event on the device have finished execution"
128
+
desc: "[uint64_t][optional-query] A 64-bit value of current device counter in nanoseconds when the event and any child events enqueued by this event on the device have finished execution"
0 commit comments