This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.
from 22d6f4b bumping vta version (#6977)
add 81d9f11 Add Relay option to link parameters into runtime Modules
(#6917)
No new revisions were added by this update.
Summary of changes:
cmake/modules/StandaloneCrt.cmake | 1 +
include/tvm/runtime/crt/error_codes.h | 16 +
include/tvm/runtime/crt/graph_runtime.h | 16 +-
.../tvm/runtime/crt/graph_runtime_module.h | 19 +-
include/tvm/runtime/crt/module.h | 8 +
include/tvm/runtime/module.h | 4 +
include/tvm/tir/function.h | 48 +++
python/tvm/micro/build.py | 23 +-
python/tvm/micro/debugger.py | 2 +-
python/tvm/micro/session.py | 73 +++-
python/tvm/micro/transport/base.py | 2 +-
python/tvm/target/target.py | 3 +-
src/relay/backend/build_module.cc | 49 ++-
src/relay/backend/graph_runtime_codegen.cc | 36 +-
src/runtime/crt/Makefile | 2 +-
src/runtime/crt/common/crt_runtime_api.c | 24 +-
src/runtime/crt/common/memory.c | 13 +-
src/runtime/crt/graph_runtime/graph_runtime.c | 89 ++++-
.../graph_runtime_module/graph_runtime_module.c | 221 +++++++++++
src/runtime/crt/host/main.cc | 9 +
.../crt/internal/graph_runtime/graph_runtime.h | 10 +-
src/runtime/graph/debug/graph_runtime_debug.cc | 15 +-
src/runtime/graph/graph_runtime.cc | 87 ++++-
src/runtime/graph/graph_runtime.h | 25 +-
src/runtime/graph/graph_runtime_factory.cc | 2 +-
src/runtime/rpc/rpc_module.cc | 85 +++--
src/target/llvm/codegen_llvm.cc | 88 +++++
src/target/llvm/codegen_llvm.h | 12 +
src/target/llvm/codegen_params.cc | 176 +++++++++
.../llvm/{codegen_blob.h => codegen_params.h} | 35 +-
src/target/llvm/llvm_module.cc | 20 +-
src/target/source/codegen_c_host.cc | 64 ++++
src/target/source/codegen_c_host.h | 3 +
src/target/source/codegen_params.cc | 248 +++++++++++++
.../codegen_blob.h => source/codegen_params.h} | 40 +-
src/target/target_kind.cc | 2 +
src/tir/ir/function.cc | 7 +
tests/cpp/target_test.cc | 3 +-
tests/python/unittest/test_crt.py | 1 +
tests/python/unittest/test_link_params.py | 408 +++++++++++++++++++++
tests/python/unittest/test_target_codegen_llvm.py | 5 +-
41 files changed, 1833 insertions(+), 161 deletions(-)
copy src/runtime/crt/include/tvm/runtime/crt/internal/common/func_registry.h
=> include/tvm/runtime/crt/graph_runtime_module.h (66%)
create mode 100644 src/runtime/crt/graph_runtime_module/graph_runtime_module.c
create mode 100644 src/target/llvm/codegen_params.cc
copy src/target/llvm/{codegen_blob.h => codegen_params.h} (58%)
create mode 100644 src/target/source/codegen_params.cc
copy src/target/{llvm/codegen_blob.h => source/codegen_params.h} (50%)
create mode 100644 tests/python/unittest/test_link_params.py