You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by mo...@apache.org on 2022/01/19 10:29:57 UTC

[tvm] branch main updated (ac1a43b -> c3ace20)

This is an automated email from the ASF dual-hosted git repository.

mousius pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.


    from ac1a43b  Propagate ssh-agent authentication socket (#9926)
     add c3ace20  [TIR][USMP] Integrating USMP to AoT Executor (#9565)

No new revisions were added by this update.

Summary of changes:
 include/tvm/tir/transform.h                        |   8 +
 include/tvm/tir/usmp/algorithms.h                  |  62 +++++
 .../runtime.cc => include/tvm/tir/usmp/analysis.h  |  34 ++-
 include/tvm/tir/usmp/transform.h                   |  64 +++++
 include/tvm/tir/usmp/utils.h                       |  47 +++-
 src/driver/driver_api.cc                           |   7 +-
 src/relay/backend/aot_executor_codegen.cc          | 235 ++++++++++++------
 src/relay/backend/build_module.cc                  |   4 +-
 src/relay/backend/utils.h                          |  60 ++++-
 src/relay/backend/vm/compiler.cc                   |   3 +-
 src/runtime/meta_data.h                            |  47 ----
 src/target/metadata_module.cc                      |   2 +-
 src/target/metadata_module.h                       |   4 +-
 src/target/source/codegen_c.cc                     |  55 -----
 src/target/source/codegen_c.h                      |  13 +-
 src/target/source/codegen_source_base.cc           |  55 +++++
 src/target/source/codegen_source_base.h            |  12 +
 src/target/source/source_module.cc                 | 254 ++++++++++++++++----
 src/target/source/source_module.h                  |   4 +-
 src/tir/transforms/make_unpacked_api.cc            |  23 +-
 src/tir/usmp/algo/greedy.cc                        |   1 +
 src/tir/usmp/analysis/extract_buffer_info.cc       |  19 +-
 src/tir/usmp/transform/assign_pool_info.cc         | 120 ++++++++++
 .../convert_pool_allocations_to_offsets.cc         |  47 +++-
 src/tir/usmp/unified_static_memory_planner.cc      |  98 ++++++++
 src/tir/usmp/utils.cc                              |  68 +++++-
 tests/cpp/build_module_test.cc                     |  16 +-
 tests/python/contrib/test_ethosu/infra.py          |   2 +-
 tests/python/relay/aot/aot_test_utils.py           |   6 +-
 tests/python/relay/aot/corstone300.ld              |   2 +
 tests/python/relay/aot/test_c_device_api.py        |  61 ++---
 tests/python/relay/aot/test_crt_aot.py             |  40 +---
 tests/python/relay/aot/test_crt_aot_usmp.py        | 266 +++++++++++++++++++++
 ...ransform_convert_pool_allocations_to_offsets.py |   4 +-
 34 files changed, 1367 insertions(+), 376 deletions(-)
 create mode 100644 include/tvm/tir/usmp/algorithms.h
 copy src/tir/op/runtime.cc => include/tvm/tir/usmp/analysis.h (57%)
 create mode 100644 include/tvm/tir/usmp/transform.h
 create mode 100644 src/tir/usmp/transform/assign_pool_info.cc
 create mode 100644 src/tir/usmp/unified_static_memory_planner.cc
 create mode 100644 tests/python/relay/aot/test_crt_aot_usmp.py