File stl.h#
↰ Parent directory (tvm/ffi/extra)
STL container support.
Definition (tvm/ffi/extra/stl.h)#
Detailed Description#
This file is an extra extension of TVM FFI, which provides support for STL containers in C++ exported functions.
Whenever possible, prefer using tvm/ffi/container/ implementations, such as tvm::ffi::Array and tvm::ffi::Tuple, over STL containers.
Native ffi objects comes with stable data layout and can be directly accessed through compiled languages (Rust) and DSLs(via LLVM) with raw pointer access for better performance and compatibility.
Includes#
algorithmarray(File array.h)cstddefcstdintexceptionfunctionaliteratormap(File map.h)optional(File optional.h)tuple(File tuple.h)tvm/ffi/base_details.h(File base_details.h)tvm/ffi/c_api.h(File c_api.h)tvm/ffi/container/array.h(File array.h)tvm/ffi/container/map.h(File map.h)tvm/ffi/error.h(File error.h)tvm/ffi/function.h(File function.h)tvm/ffi/object.h(File object.h)tvm/ffi/type_traits.h(File type_traits.h)type_traits(File type_traits.h)utilityvariant(File variant.h)vector