@@ -187,9 +187,9 @@ static ur_result_t USMDeviceAllocImpl(void **ResultPtr,
187187 ZeDesc.pNext = &RelaxedDesc;
188188 }
189189
190- ze_result_t ZeResult =
191- ZE_CALL_NOCHECK ( zeMemAllocDevice (Context->ZeContext , &ZeDesc, Size,
192- Alignment, Device->ZeDevice , ResultPtr));
190+ ze_result_t ZeResult = ZE_CALL_NOCHECK (
191+ zeMemAllocDevice, (Context->ZeContext , &ZeDesc, Size, Alignment ,
192+ Device->ZeDevice , ResultPtr));
193193 if (ZeResult != ZE_RESULT_SUCCESS) {
194194 if (ZeResult == ZE_RESULT_ERROR_UNSUPPORTED_SIZE) {
195195 return UR_RESULT_ERROR_INVALID_USM_SIZE;
@@ -234,8 +234,8 @@ static ur_result_t USMSharedAllocImpl(void **ResultPtr,
234234 }
235235
236236 ze_result_t ZeResult = ZE_CALL_NOCHECK (
237- zeMemAllocShared (Context->ZeContext , &ZeDevDesc, &ZeHostDesc, Size,
238- Alignment, Device->ZeDevice , ResultPtr));
237+ zeMemAllocShared, (Context->ZeContext , &ZeDevDesc, &ZeHostDesc, Size,
238+ Alignment, Device->ZeDevice , ResultPtr));
239239 if (ZeResult != ZE_RESULT_SUCCESS) {
240240 if (ZeResult == ZE_RESULT_ERROR_UNSUPPORTED_SIZE) {
241241 return UR_RESULT_ERROR_INVALID_USM_SIZE;
@@ -268,8 +268,9 @@ static ur_result_t USMHostAllocImpl(void **ResultPtr,
268268 // TODO: translate PI properties to Level Zero flags
269269 ZeStruct<ze_host_mem_alloc_desc_t > ZeHostDesc;
270270 ZeHostDesc.flags = 0 ;
271- ze_result_t ZeResult = ZE_CALL_NOCHECK (zeMemAllocHost (
272- Context->ZeContext , &ZeHostDesc, Size, Alignment, ResultPtr));
271+ ze_result_t ZeResult =
272+ ZE_CALL_NOCHECK (zeMemAllocHost, (Context->ZeContext , &ZeHostDesc, Size,
273+ Alignment, ResultPtr));
273274 if (ZeResult != ZE_RESULT_SUCCESS) {
274275 if (ZeResult == ZE_RESULT_ERROR_UNSUPPORTED_SIZE) {
275276 return UR_RESULT_ERROR_INVALID_USM_SIZE;
0 commit comments