You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by za...@apache.org on 2019/08/08 00:35:42 UTC
[incubator-mxnet] branch master updated (07eb482 -> a2b11ae)
This is an automated email from the ASF dual-hosted git repository.
zachgk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git.
from 07eb482 fix tvm cmake (#15781)
add a2b11ae Fix PR #15489 (Dynamic Library Loading Support) (#15760)
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 6 +
Makefile | 7 +-
ci/jenkins/Jenkins_steps.groovy | 10 +-
example/{rnn/large_word_lm => lib_api}/Makefile | 18 ++-
example/lib_api/libtest.cc | 78 +++++++++++++
.../torch_criterion.cu => example/lib_api/mylib.cc | 28 ++---
.../contrib/__init__.py => example/lib_api/test.py | 18 +--
include/mxnet/c_api.h | 7 ++
include/mxnet/lib_api.h | 50 +++++++++
python/mxnet/__init__.py | 1 +
python/mxnet/base.py | 2 +-
python/mxnet/{io/__init__.py => library.py} | 36 ++++--
src/c_api/c_api.cc | 15 +++
src/common/library.cc | 125 +++++++++++++++++++++
src/common/library.h | 57 ++++++++++
src/initialize.cc | 8 ++
tests/python/gpu/test_operator_gpu.py | 1 +
tests/python/unittest/test_library_loading.py | 48 ++++++++
18 files changed, 471 insertions(+), 44 deletions(-)
copy example/{rnn/large_word_lm => lib_api}/Makefile (78%)
create mode 100644 example/lib_api/libtest.cc
copy plugin/torch/torch_criterion.cu => example/lib_api/mylib.cc (71%)
copy python/mxnet/gluon/contrib/__init__.py => example/lib_api/test.py (74%)
create mode 100644 include/mxnet/lib_api.h
copy python/mxnet/{io/__init__.py => library.py} (50%)
create mode 100644 src/common/library.cc
create mode 100644 src/common/library.h
create mode 100644 tests/python/unittest/test_library_loading.py