File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
offload/plugins-nextgen/common/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,15 +63,15 @@ rpc::Status handleOffloadOpcodes(plugin::GenericDeviceTy &Device,
6363#ifdef OFFLOAD_ENABLE_EMISSARY_APIS
6464 case ALT_LIBC_MALLOC: {
6565 Port.recv_and_send ([&](rpc::Buffer *Buffer, uint32_t ) {
66- Buffer->data [0 ] = reinterpret_cast <uintptr_t >(Device. allocate (
67- Buffer->data [0 ], nullptr , TARGET_ALLOC_DEVICE_NON_BLOCKING ));
66+ Buffer->data [0 ] = reinterpret_cast <uintptr_t >(
67+ Device. allocate ( Buffer->data [0 ], nullptr , TARGET_ALLOC_DEVICE ));
6868 });
6969 break ;
7070 }
7171 case ALT_LIBC_FREE: {
7272 Port.recv ([&](rpc::Buffer *Buffer, uint32_t ) {
7373 Device.free (reinterpret_cast <void *>(Buffer->data [0 ]),
74- TARGET_ALLOC_DEVICE_NON_BLOCKING );
74+ TARGET_ALLOC_DEVICE );
7575 });
7676 break ;
7777 }
You can’t perform that action at this time.
0 commit comments