[Relay][Vm] Some performance improvement to VM (#5901)
authorHaichen Shen <shenhaichen@gmail.com>
Thu, 25 Jun 2020 14:55:40 +0000 (07:55 -0700)
committerGitHub <noreply@github.com>
Thu, 25 Jun 2020 14:55:40 +0000 (07:55 -0700)
commit7830561446f471c4ecd22f03044e0b640017a3a1
treef164d45fa14f8872153852e7ad9c807ad338f742
parent074a07ede031762afb755f8b9273c0afb55c8b4a
[Relay][Vm] Some performance improvement to VM (#5901)

* make alignment constant

* tweak copyto and loadscalarint

* some safety check

* x

* lint

* fix
include/tvm/runtime/vm.h
src/relay/backend/vm/compiler.cc
src/runtime/vm/executable.cc
src/runtime/vm/vm.cc