You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ju...@apache.org on 2023/11/04 17:37:53 UTC

(tvm) 01/01: Merge remote-tracking branch 'main' into unity

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

junrushao pushed a commit to branch unity-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit 54b2a074c992048b57a7ec9c08bf1597d94d5698
Merge: 2329b1a9a9 9df0683701
Author: Junru Shao <ju...@gmail.com>
AuthorDate: Sat Nov 4 10:37:15 2023 -0700

    Merge remote-tracking branch 'main' into unity

 .github/workflows/main.yml                         |   3 +-
 cmake/utils/FindLLVM.cmake                         |   9 ++
 include/tvm/runtime/packed_func.h                  |  80 ++++++++++
 include/tvm/runtime/vm/executable.h                |  39 +++--
 python/tvm/_ffi/base.py                            |  15 +-
 .../tvm/relay/backend/contrib/ethosu/legalize.py   |   2 +-
 src/runtime/vm/executable.cc                       |  81 ++--------
 src/script/ir_builder/tir/ir.cc                    |   9 +-
 src/target/source/codegen_c.cc                     |  47 +++++-
 src/target/source/codegen_c.h                      |   2 +
 src/target/source/codegen_cuda.cc                  |  49 ++----
 src/target/source/codegen_cuda.h                   |   2 +-
 src/target/source/codegen_metal.cc                 |  93 +++++++-----
 src/target/source/codegen_metal.h                  |   3 +-
 src/tir/transforms/inject_ptx_async_copy.cc        |   7 +-
 src/tir/transforms/inject_software_pipeline.cc     |   2 +-
 src/tir/transforms/ir_utils.cc                     |   3 +-
 src/tir/transforms/lower_cross_thread_reduction.cc |   2 +-
 src/tir/transforms/renew_defs.cc                   |  10 +-
 tests/lint/pylint.sh                               |   4 +
 tests/python/contrib/test_cblas.py                 | 165 +++++++++++++--------
 tests/python/contrib/test_ethosu/test_codegen.py   |  16 ++
 tests/python/contrib/test_tflite_runtime.py        |  18 ++-
 tests/python/contrib/test_thrust.py                |   6 +-
 tests/python/contrib/test_util.py                  |   4 +-
 tests/python/unittest/test_micro_ms_tuning.py      |   2 +-
 tests/python/unittest/test_roofline.py             |   2 +-
 .../test_runtime_module_based_interface.py         |   4 +-
 tests/python/unittest/test_target_codegen_metal.py |  23 +++
 tests/python/unittest/test_tir_renew_defs.py       |  22 ++-
 .../test_tir_transform_inject_ptx_async_copy.py    |  34 +++++
 .../test_tir_transform_inject_software_pipeline.py |  72 +++++++++
 .../test_tir_transform_lower_opaque_block.py       |  48 ++++++
 tests/python/unittest/test_tvmscript_parser_tir.py |  15 ++
 34 files changed, 634 insertions(+), 259 deletions(-)