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 2a0540a69a05b17a523987c4ba9ca9558a1a11bc Merge: 4a8a7b9c63 28908998e0 Author: Junru Shao <[email protected]> AuthorDate: Fri Sep 29 21:20:44 2023 -0700 Merge branch 'apache-upstream-main' into apache-upstream-unity .github/workflows/main.yml | 8 + apps/cpp_rtvm/README.md | 22 +++ apps/cpp_rtvm/main.cc | 199 ++++++++++++++++++--- apps/cpp_rtvm/tvm_runner.cc | 129 +++++++++---- apps/cpp_rtvm/tvm_runner.h | 24 ++- apps/howto_deploy/prepare_test_libs.py | 8 +- cmake/modules/LLVM.cmake | 3 + docker/install/ubuntu_install_oneflow.sh | 2 +- docs/how_to/deploy/adreno.rst | 2 +- python/tvm/driver/tvmc/compiler.py | 2 + python/tvm/relay/frontend/keras.py | 4 + python/tvm/runtime/script_printer.py | 30 +++- python/tvm/script/parser/core/parser.py | 13 +- python/tvm/target/codegen.py | 93 ++++++++-- python/tvm/target/x86.py | 28 +-- python/tvm/tir/schedule/schedule.py | 25 ++- python/tvm/tir/schedule/trace.py | 9 +- python/tvm/topi/x86/batch_matmul.py | 8 +- python/tvm/topi/x86/dense.py | 9 +- python/tvm/topi/x86/dense_alter_op.py | 5 +- .../space_generator/space_generator.cc | 19 +- src/relay/qnn/op/requantize.cc | 6 +- src/relay/qnn/op/requantize_config.h | 6 +- src/runtime/opencl/opencl_common.h | 6 +- src/runtime/opencl/opencl_device_api.cc | 4 + src/runtime/opencl/opencl_module.cc | 22 ++- src/runtime/opencl/opencl_module.h | 1 + src/target/llvm/codegen_x86_64.cc | 39 +--- src/target/llvm/llvm_instance.cc | 154 +++++++++++++++- src/target/llvm/llvm_instance.h | 30 ++++ src/target/llvm/llvm_module.cc | 197 ++++++-------------- src/tir/ir/stmt_functor.cc | 32 +--- tests/python/driver/tvmc/test_compiler.py | 1 + tests/python/frontend/keras/test_forward.py | 14 +- tests/python/frontend/oneflow/test_forward.py | 2 +- tests/python/relay/test_op_level2.py | 5 +- tests/python/relay/test_op_qnn_conv2_transpose.py | 2 +- tests/python/relay/test_op_qnn_conv2d.py | 4 +- tests/python/relay/test_pass_alter_op_layout.py | 6 +- tests/python/relay/test_pass_qnn_legalize.py | 14 +- tests/python/target/test_llvm_features_info.py | 104 +++++++++++ tests/python/target/test_x86_features.py | 155 ++++++++-------- tests/python/unittest/test_allreduce.py | 44 +++++ tests/python/unittest/test_target_codegen_llvm.py | 2 +- .../test_tir_transform_unify_thread_binding.py | 43 ----- tests/scripts/setup-adreno-env.sh | 18 +- tests/scripts/task_config_build_adreno.sh | 2 + 47 files changed, 1038 insertions(+), 517 deletions(-)
