You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/04/04 06:46:41 UTC
[GitHub] [incubator-mxnet] yuxihu opened a new pull request #14615: Add
PushAsyncPtr and PushSyncPtr APIs in engine
yuxihu opened a new pull request #14615: Add PushAsyncPtr and PushSyncPtr APIs in engine
URL: https://github.com/apache/incubator-mxnet/pull/14615
std::function definition is not compatible between GCC [4.x](https://github.com/gcc-mirror/gcc/blob/gcc-4_8_4-release/libstdc++-v3/include/std/functional#L2069) and GCC [5.x](https://github.com/gcc-mirror/gcc/blob/gcc-5_4_0-release/libstdc++-v3/include/std/functional#L1854). The incompatibility caused [segmentation fault](https://github.com/horovod/horovod/issues/884) when a third-party library compiled with GCC 5+ uses the PushAsync/PushSync interfaces in engine.
To avoid the above incompatibility issue, this PR addes PushAsyncPtr/PushSyncPtr APIs in engine. These two APIs take function pointer instead of std::function as the engine execution function.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services