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) {
54
54
}
55
55
}
56
56
57
- const ur_command_t
58
- convertCLCommandTypeToUR (const cl_command_type &CommandType) {
57
+ ur_command_t convertCLCommandTypeToUR (const cl_command_type &CommandType) {
59
58
/* Note: the following enums don't have a CL equivalent:
60
59
UR_COMMAND_USM_FILL_2D
61
60
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) {
49
49
return CLCommandQueueProperties;
50
50
}
51
51
52
- const ur_queue_flags_t
52
+ ur_queue_flags_t
53
53
mapCLQueuePropsToUR (const cl_command_queue_properties &Properties) {
54
54
ur_queue_flags_t Flags = 0 ;
55
55
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(
486
486
return UR_RESULT_SUCCESS;
487
487
}
488
488
489
- const ur_usm_type_t
489
+ ur_usm_type_t
490
490
mapCLUSMTypeToUR (const cl_unified_shared_memory_type_intel &Type) {
491
491
switch (Type) {
492
492
case CL_MEM_TYPE_HOST_INTEL:
You can’t perform that action at this time.
0 commit comments