#tvm #cross-language #ffi-bindings #run-time #api-bindings #low #level

sys tvm-sys

Low level bindings to TVM's cross language API

2 releases

0.1.1-alpha Feb 23, 2021
0.1.0 May 29, 2018

#6 in #tvm


Used in 3 crates

Apache-2.0

49KB
1K SLoC

tvm-sys

The low level bindings to TVM's C APIs for interacting with the runtime, the cross-language object system, and packed function API.

These will generate bindings to TVM, if you set TVM_HOME variable before building it will instruct the bindings to use your source tree, if not the crate will use tvm-build in order to build a sandboxed version of the library.

This feature is intended to simplify the installation for brand new TVM users by trying to automate the build process as much as possible.


lib.rs:

This crate contains the minimal interface over TVM's C runtime API.

These common bindings are useful to both runtimes written in Rust, as well as higher level API bindings.

See the tvm-rt or tvm crates for full bindings to the TVM API.

Dependencies

~2.1–7.5MB
~144K SLoC