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

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


    from 957cc12  [Relay] Modify create_executor to pass params (#8418)
     add d67514b  [PROFILING] Use PAPI to collect hardware performance counters 
on CPU and CUDA (#7983)

No new revisions were added by this update.

Summary of changes:
 CMakeLists.txt                                     |   2 +
 .../modules/contrib/PAPI.cmake                     |  17 +-
 docs/index.rst                                     |   1 +
 .../{api/python/driver.rst => profiling/index.rst} |  10 +-
 docs/profiling/papi.rst                            | 114 ++++++++
 .../tvm/runtime/contrib/papi.h                     |  39 ++-
 include/tvm/runtime/profiling.h                    | 102 ++++++-
 include/tvm/runtime/threading_backend.h            |   8 +
 python/tvm/contrib/debugger/debug_executor.py      |   9 +-
 python/tvm/runtime/profiler_vm.py                  |   8 +-
 python/tvm/runtime/profiling.py                    |  48 ----
 python/tvm/runtime/profiling/__init__.py           |  85 ++++++
 .../tvm/{arith => runtime/profiling}/_ffi_api.py   |   7 +-
 src/runtime/contrib/papi/papi.cc                   | 299 +++++++++++++++++++++
 .../graph_executor/debug/graph_executor_debug.cc   |  15 +-
 src/runtime/profiling.cc                           |  98 ++++---
 src/runtime/thread_pool.cc                         |  38 ++-
 src/runtime/vm/executable.cc                       |  13 +
 src/runtime/vm/profiler/vm.cc                      |  53 ++--
 src/runtime/vm/profiler/vm.h                       |   5 +-
 tests/python/unittest/test_runtime_profiling.py    |  66 ++++-
 21 files changed, 863 insertions(+), 174 deletions(-)
 copy apps/microtvm/zephyr/aot_demo/boards/mps2_an521.conf => 
cmake/modules/contrib/PAPI.cmake (72%)
 copy docs/{api/python/driver.rst => profiling/index.rst} (88%)
 create mode 100644 docs/profiling/papi.rst
 copy tests/cpp/profiling_test.cc => include/tvm/runtime/contrib/papi.h (54%)
 delete mode 100644 python/tvm/runtime/profiling.py
 create mode 100644 python/tvm/runtime/profiling/__init__.py
 copy python/tvm/{arith => runtime/profiling}/_ffi_api.py (89%)
 create mode 100644 src/runtime/contrib/papi/papi.cc

Reply via email to