@@ -88,14 +88,14 @@ typedef struct ze_memory_provider_t {
8888typedef struct ze_ops_t {
8989 ze_result_t (* zeMemAllocHost )(ze_context_handle_t ,
9090 const ze_host_mem_alloc_desc_t * , size_t ,
91- size_t , void * );
91+ size_t , void * * );
9292 ze_result_t (* zeMemAllocDevice )(ze_context_handle_t ,
9393 const ze_device_mem_alloc_desc_t * , size_t ,
94- size_t , ze_device_handle_t , void * );
94+ size_t , ze_device_handle_t , void * * );
9595 ze_result_t (* zeMemAllocShared )(ze_context_handle_t ,
9696 const ze_device_mem_alloc_desc_t * ,
9797 const ze_host_mem_alloc_desc_t * , size_t ,
98- size_t , ze_device_handle_t , void * );
98+ size_t , ze_device_handle_t , void * * );
9999 ze_result_t (* zeMemFree )(ze_context_handle_t , void * );
100100 ze_result_t (* zeMemGetIpcHandle )(ze_context_handle_t , const void * ,
101101 ze_ipc_mem_handle_t * );
@@ -462,7 +462,7 @@ static umf_result_t ze_memory_provider_alloc_helper(void *provider, size_t size,
462462 size_t alignment ,
463463 int update_stats ,
464464 void * * resultPtr ) {
465- ze_memory_provider_t * ze_provider = ( ze_memory_provider_t * ) provider ;
465+ ze_memory_provider_t * ze_provider = provider ;
466466
467467 ze_result_t ze_result = ZE_RESULT_SUCCESS ;
468468 switch (ze2umf_memory_type (ze_provider -> memory_type )) {
@@ -714,7 +714,7 @@ ze_memory_provider_get_last_native_error(void *provider, const char **ppMessage,
714714static umf_result_t ze_memory_provider_get_min_page_size (void * provider ,
715715 const void * ptr ,
716716 size_t * pageSize ) {
717- ze_memory_provider_t * ze_provider = ( ze_memory_provider_t * ) provider ;
717+ ze_memory_provider_t * ze_provider = provider ;
718718
719719 if (!ptr ) {
720720 * pageSize = ze_provider -> min_page_size ;
@@ -770,7 +770,7 @@ static umf_result_t ze_memory_provider_get_name(void *provider,
770770 * name = DEFAULT_NAME ;
771771 return UMF_RESULT_SUCCESS ;
772772 }
773- ze_memory_provider_t * ze_provider = ( ze_memory_provider_t * ) provider ;
773+ ze_memory_provider_t * ze_provider = provider ;
774774 * name = ze_provider -> name ;
775775 return UMF_RESULT_SUCCESS ;
776776}
0 commit comments