This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch last-successful
in repository https://gitbox.apache.org/repos/asf/tvm.git.
from db14b7e just a typo fixed (#10442)
add d721d32 [runtime] AOTExecutor implementation and c target
code-generator (#10283)
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 8 +
include/tvm/relay/runtime.h | 6 +
include/tvm/runtime/metadata.h | 13 +-
include/tvm/runtime/module.h | 2 +
python/tvm/contrib/graph_executor.py | 2 +-
python/tvm/micro/model_library_format.py | 9 +
python/tvm/relay/backend/executor_factory.py | 10 +
python/tvm/relay/build_module.py | 82 +++++-
python/tvm/runtime/__init__.py | 2 +
.../common.py => runtime/executor/__init__.py} | 18 +-
python/tvm/runtime/executor/aot_executor.py | 182 ++++++++++++++
src/relay/backend/aot_executor_codegen.cc | 107 ++++++--
src/relay/backend/graph_executor_codegen.cc | 24 +-
src/relay/backend/runtime.cc | 4 +-
src/relay/backend/utils.cc | 16 +-
src/relay/backend/utils.h | 22 +-
src/runtime/aot_executor/aot_executor.cc | 197 +++++++++++++++
src/runtime/aot_executor/aot_executor.h | 147 +++++++++++
src/runtime/aot_executor/aot_executor_factory.cc | 132 ++++++++++
.../aot_executor_factory.h} | 60 ++---
.../{metadata_module.cc => const_loader_module.cc} | 89 +++----
.../sdaccel_module.h => const_loader_module.h} | 34 +--
src/runtime/meta_data.h | 13 +-
src/runtime/metadata.cc | 71 +++++-
src/runtime/thread_storage_scope.h | 3 +-
src/target/build_common.h | 2 +-
src/target/metadata.h | 29 ++-
src/target/metadata_module.cc | 191 ++++++++++----
src/target/source/codegen_c_host.cc | 18 ++
src/target/source/codegen_c_host.h | 1 +
src/target/source/codegen_source_base.h | 25 ++
src/target/source/source_module.cc | 279 +++++++++++++++++++++
src/target/source/source_module.h | 10 +-
src/tir/transforms/legalize_packed_calls.cc | 6 +
tests/cpp/aot_metadata_test.cc | 46 +++-
tests/python/relay/aot/test_c_device_api.py | 29 ++-
tests/python/relay/aot/test_cpp_aot.py | 197 +++++++++++++++
tests/python/relay/aot/test_crt_aot.py | 10 +-
.../unittest/test_aot_legalize_packed_call.py | 9 +
39 files changed, 1867 insertions(+), 238 deletions(-)
copy python/tvm/{topi/arm_cpu/mprofile/dsp/micro_kernel/common.py =>
runtime/executor/__init__.py} (69%)
create mode 100644 python/tvm/runtime/executor/aot_executor.py
create mode 100644 src/runtime/aot_executor/aot_executor.cc
create mode 100644 src/runtime/aot_executor/aot_executor.h
create mode 100644 src/runtime/aot_executor/aot_executor_factory.cc
copy src/runtime/{graph_executor/graph_executor_factory.h =>
aot_executor/aot_executor_factory.h} (59%)
rename src/runtime/{metadata_module.cc => const_loader_module.cc} (67%)
copy src/runtime/{opencl/sdaccel/sdaccel_module.h => const_loader_module.h}
(55%)
create mode 100644 tests/python/relay/aot/test_cpp_aot.py