You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/05/10 05:09:31 UTC
[tvm] branch main updated (24d6c3f3f0 -> 8d4f4dd73f)
This is an automated email from the ASF dual-hosted git repository.
areusch pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
from 24d6c3f3f0 [LLVM] Make sure all functions have target-related attributes set (#11222)
add 8d4f4dd73f [microTVM] Add support for host-driven AoT Executor (#11044)
No new revisions were added by this update.
Summary of changes:
cmake/modules/StandaloneCrt.cmake | 3 +
include/tvm/runtime/c_runtime_api.h | 4 +-
include/tvm/runtime/crt/aot_executor.h | 107 +++++++++
...aph_executor_module.h => aot_executor_module.h} | 12 +-
include/tvm/runtime/crt/error_codes.h | 12 +-
include/tvm/runtime/crt/graph_executor_module.h | 2 +-
include/tvm/runtime/metadata.h | 69 +-----
include/tvm/runtime/metadata_types.h | 89 ++++++++
src/relay/backend/build_module.cc | 6 +-
src/relay/backend/vm/compiler.cc | 7 +-
src/runtime/crt/Makefile | 2 +
src/runtime/crt/aot_executor/aot_executor.c | 244 +++++++++++++++++++++
.../crt/aot_executor_module/aot_executor_module.c | 196 +++++++++++++++++
.../graph_executor_module/graph_executor_module.c | 38 +++-
src/runtime/crt/host/Makefile | 12 +-
src/runtime/crt/host/main.cc | 5 +
src/target/metadata_module.cc | 19 +-
src/target/metadata_module.h | 3 +-
src/target/source/source_module.cc | 73 ++++--
src/target/source/source_module.h | 4 +-
tests/micro/arduino/test_arduino_workflow.py | 2 +-
tests/python/driver/tvmc/test_compiler.py | 6 +-
tests/python/unittest/test_crt.py | 78 ++++++-
23 files changed, 869 insertions(+), 124 deletions(-)
create mode 100644 include/tvm/runtime/crt/aot_executor.h
copy include/tvm/runtime/crt/{graph_executor_module.h => aot_executor_module.h} (73%)
create mode 100644 include/tvm/runtime/metadata_types.h
create mode 100644 src/runtime/crt/aot_executor/aot_executor.c
create mode 100644 src/runtime/crt/aot_executor_module/aot_executor_module.c