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 6d1b58dc0ad8f970c5ce155385b83f9330e9da53 Merge: 1c90ca7c7c 25b8a0798e Author: Junru Shao <[email protected]> AuthorDate: Mon Sep 11 17:50:47 2023 +0000 Merge remote-tracking branch 'main' into `unity` include/tvm/runtime/c_runtime_api.h | 7 + include/tvm/runtime/registry.h | 45 +++++++ include/tvm/tir/builtin.h | 21 ++- python/tvm/_ffi/_ctypes/packed_func.py | 26 ++-- python/tvm/_ffi/_cython/base.pxi | 5 +- python/tvm/_ffi/_cython/packed_func.pxi | 19 ++- python/tvm/_ffi/base.py | 149 ++++++++++++++++++++- python/tvm/contrib/hexagon/session.py | 2 + python/tvm/contrib/hexagon/tools.py | 130 +++++++++++++++++- python/tvm/relay/frontend/oneflow.py | 7 +- python/tvm/relay/frontend/pytorch.py | 2 +- python/tvm/relay/op/strategy/arm_cpu.py | 49 +++++-- python/tvm/runtime/module.py | 24 +++- python/tvm/runtime/script_printer.py | 12 +- python/tvm/script/highlight.py | 4 +- python/tvm/script/ir_builder/tir/ir.py | 2 + python/tvm/tir/__init__.py | 1 + python/tvm/tir/op.py | 75 +++++------ python/tvm/tir/schedule/schedule.py | 4 +- python/tvm/tir/schedule/trace.py | 4 +- python/tvm/topi/arm_cpu/conv2d_gemm.py | 7 +- src/ir/transform.cc | 88 ++++++++---- src/relay/analysis/type_solver.cc | 2 - src/relay/transforms/annotate_texture_storage.cc | 8 +- src/runtime/c_runtime_api.cc | 94 ++++++++++++- src/runtime/logging.cc | 137 +++++++++++++------ src/runtime/registry.cc | 62 ++++++++- src/runtime/static_library.cc | 30 ++++- src/support/ffi_testing.cc | 12 ++ src/target/codegen.cc | 78 ++++++----- src/target/source/codegen_cuda.cc | 61 ++++++--- src/target/source/codegen_cuda.h | 8 ++ src/target/source/ptx.cc | 30 ++--- src/target/source/ptx.h | 36 ++--- src/target/source/source_module.cc | 41 +++++- src/tir/op/builtin.cc | 7 + tests/python/frontend/oneflow/test_forward.py | 2 +- tests/python/frontend/pytorch/test_forward.py | 14 ++ .../opencl_texture/test_conv2d_nchw_texture.py | 77 +++++++++-- .../relay/opencl_texture/utils/adreno_utils.py | 18 +-- .../relay/strategy/test_select_implementation.py | 8 ++ tests/python/relay/test_pass_instrument.py | 16 +-- tests/python/relay/test_type_infer.py | 2 +- ...eta_schedule_schedule_rule_apply_custom_rule.py | 2 +- .../unittest/test_roundtrip_runtime_module.py | 12 +- tests/python/unittest/test_runtime_error.py | 102 ++++++++++++-- .../unittest/test_runtime_module_property.py | 2 +- tests/python/unittest/test_tir_op_types.py | 20 +-- tests/python/unittest/test_tir_ptx_cp_async.py | 44 ++---- .../test_tir_transform_inject_ptx_async_copy.py | 14 +- tests/scripts/task_demo_microtvm.sh | 31 ++++- 51 files changed, 1272 insertions(+), 381 deletions(-)
