You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2020/07/28 03:36:50 UTC
[incubator-tvm] branch master updated (5a31251 -> 969a9d9)
This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from 5a31251 [CI][TEST] Temporary disable nmsv4 test (#6151)
add 969a9d9 Add TVM application extension with WASM runtime (#5892)
No new revisions were added by this update.
Summary of changes:
apps/README.md | 1 +
apps/wasm-standalone/.gitignore | 8 +
apps/wasm-standalone/README.md | 202 +++++++++++++++++++++
apps/wasm-standalone/wasm-graph/.cargo/config | 3 +
.../wasm-standalone/wasm-graph}/Cargo.toml | 31 ++--
.../wasm-standalone/wasm-graph/build.rs | 11 +-
apps/wasm-standalone/wasm-graph/src/lib.rs | 83 +++++++++
apps/wasm-standalone/wasm-graph/src/types.rs | 182 +++++++++++++++++++
.../wasm-standalone/wasm-graph/src/utils.rs | 42 ++---
.../wasm-graph/tools/build_graph_lib.py | 73 ++++++++
.../wasm-standalone/wasm-runtime}/Cargo.toml | 27 ++-
apps/wasm-standalone/wasm-runtime/src/graph.rs | 130 +++++++++++++
.../wasm-standalone/wasm-runtime/src/lib.rs | 50 ++---
apps/wasm-standalone/wasm-runtime/src/types.rs | 126 +++++++++++++
.../tests/test_graph_resnet50}/Cargo.toml | 12 +-
.../tests/test_graph_resnet50/src/main.rs | 152 ++++++++++++++++
rust/tvm-graph-rt/src/array.rs | 2 +-
rust/tvm-macros/src/external.rs | 7 +-
tests/lint/check_file_type.py | 10 +-
19 files changed, 1062 insertions(+), 90 deletions(-)
create mode 100644 apps/wasm-standalone/.gitignore
create mode 100644 apps/wasm-standalone/README.md
create mode 100644 apps/wasm-standalone/wasm-graph/.cargo/config
copy {rust/tvm-macros => apps/wasm-standalone/wasm-graph}/Cargo.toml (69%)
copy web/jest.config.js => apps/wasm-standalone/wasm-graph/build.rs (85%)
create mode 100644 apps/wasm-standalone/wasm-graph/src/lib.rs
create mode 100644 apps/wasm-standalone/wasm-graph/src/types.rs
copy golang/src/gotvm_test.go => apps/wasm-standalone/wasm-graph/src/utils.rs (55%)
create mode 100644 apps/wasm-standalone/wasm-graph/tools/build_graph_lib.py
copy {rust/tvm-macros => apps/wasm-standalone/wasm-runtime}/Cargo.toml (74%)
create mode 100644 apps/wasm-standalone/wasm-runtime/src/graph.rs
copy src/runtime/micro/device/riscv_spike/utvm_init.s => apps/wasm-standalone/wasm-runtime/src/lib.rs (87%)
create mode 100644 apps/wasm-standalone/wasm-runtime/src/types.rs
copy {rust/tvm/examples/resnet => apps/wasm-standalone/wasm-runtime/tests/test_graph_resnet50}/Cargo.toml (90%)
create mode 100644 apps/wasm-standalone/wasm-runtime/tests/test_graph_resnet50/src/main.rs