[Relay][VM]VM Profiler (#3727)
authorWei Chen <ipondering.weic@gmail.com>
Wed, 21 Aug 2019 04:28:05 +0000 (21:28 -0700)
committerJared Roesch <roeschinc@gmail.com>
Wed, 21 Aug 2019 04:28:05 +0000 (21:28 -0700)
commit95f12e313734e0469653eea4d364f04fd3839353
tree80551ff935f0f9d2d6958b6ab0b5537ddb31975a
parentc87ace7e363a891ff202a7e9e691802e7fa1ed0a
[Relay][VM]VM Profiler (#3727)

* [Relay][VM]VM debugger

* Report mean/min/max for op duration

* Typos

* Lint

* Lint

* Lint

* Support build debug VM in CMake

* Lint

* Enable VM debug in unit test

* Disable debug vm test until new docker image is built

* Add device sync code

* Fix qnn unit test

* Disable vm debug by default

* Rename files

* Rename classes

* Fix comment

* Fix comment
13 files changed:
CMakeLists.txt
Jenkinsfile
cmake/config.cmake
include/tvm/runtime/vm.h
python/tvm/relay/__init__.py
python/tvm/relay/backend/profiler_vm.py [new file with mode: 0644]
src/relay/backend/vm/compiler.cc
src/relay/backend/vm/compiler.h [new file with mode: 0644]
src/relay/backend/vm/profiler/compiler.cc [new file with mode: 0644]
src/runtime/vm/profiler/vm.cc [new file with mode: 0644]
src/runtime/vm/profiler/vm.h [new file with mode: 0644]
src/runtime/vm/vm.cc
tests/python/unittest/test_runtime_vm_profiler.py [new file with mode: 0644]