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


 discard d7987f4217 Upgrade FFI to accept ndarray as handle
 discard 304dd0667a fix python shape obj reg
 discard 2d5791a0e4 Update string to make use of the new ffi::String convention
 discard 4f3df502df [FFI] Make the data/size fields of ByteObjBase inline
 discard 0a6dc7a5f6 migrate shape to use ffi::Shape
 discard cd2e404d9c [FFI] Introduce Shape
     new 99d8920aae [FFI] Introduce Shape
     new d683652106 migrate shape to use ffi::Shape
     new 8bfac6f37b [FFI] Make the data/size fields of ByteObjBase inline
     new 9941819d3f Update string to make use of the new ffi::String convention
     new 1fc5e5efdd fix python shape obj reg
     new f183de2be8 Upgrade FFI to accept ndarray as handle
     new 520ffd650e fix structural hash and relax tir codegen
     new 8bac6dd83d [FFI] Introduce NDArray with DLPack support
     new e82734e82c NDArray migrate to new mechanism

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (d7987f4217)
            \
             N -- N -- N   refs/heads/refactor-s2 (e82734e82c)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 9 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/CMakeLists.txt                               |   1 +
 ffi/include/tvm/ffi/any.h                        |   3 +-
 ffi/include/tvm/ffi/c_api.h                      |  44 +++
 ffi/include/tvm/ffi/container/ndarray.h          | 328 +++++++++++++++++++++++
 ffi/include/tvm/ffi/container/shape.h            |   6 +-
 ffi/include/tvm/ffi/object.h                     |   3 +-
 ffi/include/tvm/ffi/string.h                     |   3 +-
 ffi/src/ffi/ndarray.cc                           |  59 ++++
 ffi/tests/cpp/test_ndarray.cc                    | 111 ++++++++
 include/tvm/runtime/container/shape_tuple.h      |   5 +-
 include/tvm/runtime/device_api.h                 |  18 +-
 include/tvm/runtime/memory/memory_manager.h      |   6 -
 include/tvm/runtime/ndarray.h                    | 280 +++----------------
 python/tvm/_ffi/_cython/ndarray.pxi              |   2 +-
 python/tvm/runtime/ndarray.py                    |   2 +-
 src/contrib/msc/core/printer/msc_base_printer.cc |   3 +-
 src/node/serialization.cc                        |   4 +-
 src/node/structural_equal.cc                     |  24 +-
 src/node/structural_hash.cc                      |  23 +-
 src/runtime/contrib/random/mt_random_engine.cc   |   4 +-
 src/runtime/memory/memory_manager.cc             | 161 +++++------
 src/runtime/ndarray.cc                           | 219 +++------------
 src/runtime/opencl/opencl_device_api.cc          |   3 +-
 src/runtime/relax_vm/vm.cc                       |   1 -
 src/runtime/rpc/rpc_module.cc                    |  39 ++-
 src/tir/transforms/arg_binder.cc                 |   2 +-
 src/tir/transforms/make_packed_api.cc            |  11 +-
 tests/python/relax/test_vm_codegen_tir.py        |   2 +-
 28 files changed, 759 insertions(+), 608 deletions(-)
 create mode 100644 ffi/include/tvm/ffi/container/ndarray.h
 create mode 100644 ffi/src/ffi/ndarray.cc
 create mode 100644 ffi/tests/cpp/test_ndarray.cc

Reply via email to