File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sycl/plugins/unified_runtime/ur/adapters/level_zero Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -426,9 +426,9 @@ UR_APIEXPORT ur_result_t UR_APICALL urEventGetProfilingInfo(
426
426
case UR_PROFILING_INFO_COMMAND_QUEUED:
427
427
case UR_PROFILING_INFO_COMMAND_SUBMIT:
428
428
// Note: No users for this case
429
- // TODO: Implement commmand submission time when needed,
430
- // by recording device timestamp (using zeDeviceGetGlobalTimestamps)
431
- // before submitting command to device
429
+ // The "command_submit" time is implemented by recording submission
430
+ // timestamp with a call to piGetDeviceAndHostTimer before command enqueue.
431
+ //
432
432
return ReturnValue (uint64_t {0 });
433
433
default :
434
434
urPrint (" urEventGetProfilingInfo: not supported ParamName\n " );
You can’t perform that action at this time.
0 commit comments