This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a change to branch refactor-s2
in repository https://gitbox.apache.org/repos/asf/tvm.git


    from 62c719a12a Fix lower call packed
     new cd2e404d9c [FFI] Introduce Shape
     new 0a6dc7a5f6 migrate shape to use ffi::Shape
     new 4f3df502df [FFI] Make the data/size fields of ByteObjBase inline
     new 2d5791a0e4 Update string to make use of the new ffi::String convention
     new 304dd0667a fix python shape obj reg
     new d7987f4217 Upgrade FFI to accept ndarray as handle

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ffi/include/tvm/ffi/any.h                          |   6 +-
 ffi/include/tvm/ffi/c_api.h                        |  57 ++++--
 ffi/include/tvm/ffi/container/container_details.h  |   2 +-
 ffi/include/tvm/ffi/container/shape.h              | 219 +++++++++++++++++++++
 ffi/include/tvm/ffi/dtype.h                        |   2 -
 ffi/include/tvm/ffi/object.h                       |  30 +--
 ffi/include/tvm/ffi/optional.h                     |   4 +
 ffi/include/tvm/ffi/string.h                       |  31 ++-
 ffi/src/ffi/object.cc                              |   2 +
 ffi/tests/cpp/test_shape.cc                        |  72 +++++++
 include/tvm/runtime/container/shape_tuple.h        | 165 +---------------
 include/tvm/runtime/object.h                       |   2 +-
 python/tvm/runtime/container.py                    |   2 +-
 src/contrib/msc/core/printer/msc_base_printer.cc   |   2 +-
 src/meta_schedule/database/database_utils.cc       |   4 +-
 src/node/structural_hash.cc                        |  10 +-
 src/runtime/disco/protocol.h                       |  12 +-
 src/runtime/relax_vm/attn_utils.h                  |   2 +-
 src/runtime/rpc/rpc_local_session.cc               |   6 +-
 src/runtime/rpc/rpc_module.cc                      |   2 +-
 .../printer/doc_printer/python_doc_printer.cc      |   2 +-
 src/tir/schedule/instruction.cc                    |   2 +-
 src/tir/schedule/instruction_traits.h              |   2 +-
 src/tir/schedule/trace.cc                          |  12 +-
 src/tir/transforms/arg_binder.cc                   |  17 +-
 src/tir/transforms/arg_binder.h                    |   3 +-
 src/tir/transforms/make_packed_api.cc              |  13 +-
 27 files changed, 409 insertions(+), 274 deletions(-)
 create mode 100644 ffi/include/tvm/ffi/container/shape.h
 create mode 100644 ffi/tests/cpp/test_shape.cc

Reply via email to