eric-haibin-lin commented on a change in pull request #14615: Add MXEnginePushAsync and MXEnginePushSync C APIs URL: https://github.com/apache/incubator-mxnet/pull/14615#discussion_r274724385
########## File path: src/c_api/c_api.cc ########## @@ -1401,3 +1401,84 @@ int MXNDArrayCreateFromSharedMem(int shared_pid, int shared_id, const mx_uint *s *out = new NDArray(shared_pid, shared_id, mxnet::TShape(shape, shape + ndim), dtype); API_END(); } + +typedef Engine::VarHandle VarHandle; +typedef Engine::CallbackOnComplete CallbackOnComplete; + +int MXEnginePushAsync(EngineAsyncFunc async_func, void* func_param, + EngineFuncParamDeleter deleter, ContextHandle ctx_handle, + EngineVarHandle const_vars_handle, size_t num_const_vars, Review comment: same here: signed ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
