This is an automated email from the ASF dual-hosted git repository.
kparzysz pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
from e41d0ed6eb [Relay] Rewrite division by constant to multiply (#13182)
add 23c2909f29 [Hexagon] Add support for instrumentation based profiling
for Hexagon (#12971)
No new revisions were added by this update.
Summary of changes:
apps/hexagon_launcher/README.md | 40 +++
apps/hexagon_launcher/cmake/hexagon/CMakeLists.txt | 5 +-
apps/hexagon_launcher/launcher_android.cc | 9 +-
apps/hexagon_launcher/launcher_core.h | 3 +
apps/hexagon_launcher/launcher_hexagon.cc | 10 +-
apps/hexagon_launcher/launcher_main.cc | 14 +-
apps/hexagon_launcher/launcher_rpc.idl | 2 +-
cmake/modules/Hexagon.cmake | 6 +
cmake/modules/HexagonSDK.cmake | 6 +
include/tvm/tir/builtin.h | 10 +
include/tvm/tir/transform.h | 6 +
python/tvm/contrib/hexagon/build.py | 71 ++++
python/tvm/contrib/hexagon/hexagon_profiler.py | 119 +++++++
.../contrib/hexagon/profiling/process_lwp_data.py | 388 +++++++++++++++++++++
python/tvm/contrib/hexagon/session.py | 5 +
python/tvm/tir/transform/transform.py | 11 +
src/driver/driver_api.cc | 11 +
src/runtime/dso_library.cc | 14 +
src/runtime/hexagon/profiler/README.md | 99 ++++++
src/runtime/hexagon/profiler/lwp_handler.S | 115 ++++++
src/runtime/hexagon/profiler/prof_utils.cc | 78 +++++
.../runtime/hexagon/profiler/prof_utils.h | 12 +-
src/runtime/hexagon/rpc/hexagon/rpc_server.cc | 13 +
src/runtime/hexagon/rpc/simulator/rpc_server.cc | 13 +
src/target/llvm/codegen_hexagon.cc | 23 ++
src/target/llvm/codegen_llvm.cc | 4 +
src/tir/op/builtin.cc | 6 +
src/tir/transforms/profile_instrumentation.cc | 293 ++++++++++++++++
tests/lint/check_file_type.py | 1 +
tests/python/contrib/test_hexagon/test_launcher.py | 158 +++++++++
.../unittest/test_tir_transform_profiling_instr.py | 340 ++++++++++++++++++
31 files changed, 1868 insertions(+), 17 deletions(-)
create mode 100755 python/tvm/contrib/hexagon/hexagon_profiler.py
create mode 100644 python/tvm/contrib/hexagon/profiling/process_lwp_data.py
create mode 100644 src/runtime/hexagon/profiler/README.md
create mode 100644 src/runtime/hexagon/profiler/lwp_handler.S
create mode 100644 src/runtime/hexagon/profiler/prof_utils.cc
copy apps/ios_rpc/tvmrpc/AppDelegate.h =>
src/runtime/hexagon/profiler/prof_utils.h (77%)
create mode 100644 src/tir/transforms/profile_instrumentation.cc
create mode 100644 tests/python/unittest/test_tir_transform_profiling_instr.py