Skip to content

Commit 84b93ab

Browse files
committed
Add profiling_command_complete to opencl
1 parent 4b64041 commit 84b93ab

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

source/adapters/opencl/event.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ convertURProfilingInfoToCL(const ur_profiling_info_t PropName) {
4646
return CL_PROFILING_COMMAND_SUBMIT;
4747
case UR_PROFILING_INFO_COMMAND_START:
4848
return CL_PROFILING_COMMAND_START;
49-
// TODO(ur) add UR_PROFILING_INFO_COMMAND_COMPLETE once spec has been updated
49+
case UR_PROFILING_INFO_COMMAND_COMPLETE:
50+
return CL_PROFILING_COMMAND_COMPLETE;
5051
case UR_PROFILING_INFO_COMMAND_END:
5152
return CL_PROFILING_COMMAND_END;
5253
default:
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
urEventGetProfilingInfoTest.Success/Intel_R__OpenCL___{{.*}}___UR_PROFILING_INFO_COMMAND_COMPLETE
2-
urEventGetProfilingInfoWithTimingComparisonTest.Success/Intel_R__OpenCL___{{.*}}_

0 commit comments

Comments
 (0)