Commit 28d09fe
authored
[FEAT][RUST]Add tvm_ffi::Map in Rust (#623)
This PR adds `tvm_ffi::Map` in Rust.
`tvm_ffi::MapObj` in Rust and the `ffi::MapObj` in C++ share the same
memory layer at run time(when `TVM_FFI_DEBUG_WITH_ABI_CHANGE` is
`False`). and `tvm_ffi::MapObj` will call the corresponding method of
`ffi::Obj` in C++ through global function call directly in most cases.
---------
Signed-off-by: yuchuan <yuchuan.7streams@gmail.com>1 parent 230ae6c commit 28d09fe
7 files changed
Lines changed: 865 additions & 6 deletions
File tree
- rust/tvm-ffi
- src
- collections
- extra
- tests
0 commit comments