File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,7 @@ convertURProfilingInfoToCL(const ur_profiling_info_t PropName) {
5454 }
5555}
5656
57- const ur_command_t
58- convertCLCommandTypeToUR (const cl_command_type &CommandType) {
57+ ur_command_t convertCLCommandTypeToUR (const cl_command_type &CommandType) {
5958 /* Note: the following enums don't have a CL equivalent:
6059 UR_COMMAND_USM_FILL_2D
6160 UR_COMMAND_USM_MEMCPY_2D
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ convertURQueuePropertiesToCL(const ur_queue_properties_t *URQueueProperties) {
4949 return CLCommandQueueProperties;
5050}
5151
52- const ur_queue_flags_t
52+ ur_queue_flags_t
5353mapCLQueuePropsToUR (const cl_command_queue_properties &Properties) {
5454 ur_queue_flags_t Flags = 0 ;
5555 if (Properties & CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE) {
Original file line number Diff line number Diff line change @@ -486,7 +486,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueUSMMemcpy2D(
486486 return UR_RESULT_SUCCESS;
487487}
488488
489- const ur_usm_type_t
489+ ur_usm_type_t
490490mapCLUSMTypeToUR (const cl_unified_shared_memory_type_intel &Type) {
491491 switch (Type) {
492492 case CL_MEM_TYPE_HOST_INTEL:
You can’t perform that action at this time.
0 commit comments