This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from 603280b PIL is depreciated and should be replaced with pillow (a fork
of PIL) (#4533)
add c44b7bf [Relay] External codegen (#4482)
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 2 +
cmake/config.cmake | 3 +
.../modules/contrib/CODEGENC.cmake | 7 +-
.../Xargo.toml => cmake/modules/contrib/DNNL.cmake | 20 +-
include/tvm/build_module.h | 3 +
include/tvm/relay/expr.h | 28 ++
python/tvm/module.py | 11 +-
src/codegen/build_module.cc | 4 +
src/codegen/codegen.cc | 1 +
src/relay/backend/build_module.cc | 22 ++
src/relay/backend/compile_engine.cc | 83 +++++-
src/relay/backend/compile_engine.h | 7 +
src/relay/backend/contrib/codegen_c/codegen.cc | 226 +++++++++++++++
src/relay/backend/contrib/codegen_c/codegen_c.h | 270 ++++++++++++++++++
src/relay/backend/contrib/dnnl/codegen.cc | 310 +++++++++++++++++++++
src/relay/backend/graph_runtime_codegen.cc | 69 +++--
src/relay/backend/vm/lambda_lift.cc | 6 +-
src/relay/ir/expr.cc | 12 +-
src/relay/pass/fuse_ops.cc | 5 +-
src/relay/pass/pass_manager.cc | 8 +-
src/runtime/contrib/dnnl/dnnl.cc | 247 ++++++++++++++++
src/runtime/contrib/dnnl/dnnl_kernel.h | 56 ++++
src/runtime/library_module.cc | 1 +
tests/python/relay/test_external_codegen.py | 228 +++++++++++++++
24 files changed, 1562 insertions(+), 67 deletions(-)
copy docker/install/ubuntu_install_dgl.sh =>
cmake/modules/contrib/CODEGENC.cmake (84%)
copy apps/sgx/enclave/Xargo.toml => cmake/modules/contrib/DNNL.cmake (63%)
create mode 100644 src/relay/backend/contrib/codegen_c/codegen.cc
create mode 100644 src/relay/backend/contrib/codegen_c/codegen_c.h
create mode 100644 src/relay/backend/contrib/dnnl/codegen.cc
create mode 100644 src/runtime/contrib/dnnl/dnnl.cc
create mode 100644 src/runtime/contrib/dnnl/dnnl_kernel.h
create mode 100644 tests/python/relay/test_external_codegen.py