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 9e404f0957 [CMSIS-NN] Fix memory alignment bug in CMSIS-NN demo
(#11221)
add d2a7f93beb [ROOFLINE] Calculate roofline from existing TIR PrimFunc
(#11238)
add 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 ++++++++
python/tvm/utils/roofline.py | 192 ++++++++++++----
src/auto_scheduler/feature.cc | 2 +-
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/llvm/codegen_cpu.cc | 10 +
src/target/llvm/codegen_llvm.cc | 17 +-
src/target/llvm/codegen_llvm.h | 7 +
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 ++++++-
tests/python/unittest/test_target_codegen_llvm.py | 43 ++++
29 files changed, 1087 insertions(+), 177 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