This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch refactor-s3
in repository https://gitbox.apache.org/repos/asf/tvm.git
discard a81a3f313b [CYTHON] Phase out legacy FFI
discard 0ddf789068 [FFI] Simplify unpack traits
discard 528b0d1c31 Fix through relax
discard ab7a2c3e61 Bring custom hook to ffi layer
new 61e8e2d8fa Bring custom hook to ffi layer
new e15c9aaf0c Fix C codegen caller convention
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 (a81a3f313b)
\
N -- N -- N refs/heads/refactor-s3 (e15c9aaf0c)
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 2 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/container/variant.h | 4 +-
ffi/include/tvm/ffi/function.h | 27 +-
ffi/include/tvm/ffi/function_details.h | 93 ++++-
ffi/include/tvm/ffi/reflection/reflection.h | 9 +-
include/tvm/ir/env_func.h | 11 +-
include/tvm/runtime/packed_func.h | 19 +-
python/setup.py | 21 ++
python/tvm/{contrib/msc => _ffi/_cy3}/__init__.py | 2 +-
python/tvm/_ffi/_cython/base.pxi | 236 +++++++++++++
.../tvm/_ffi/_cython/core.pyx | 9 +-
python/tvm/_ffi/_cython/ndarray.pxi | 180 ++++++++++
python/tvm/_ffi/_cython/object.pxi | 165 +++++++++
python/tvm/_ffi/_cython/packed_func.pxi | 376 +++++++++++++++++++++
python/tvm/ffi/container.py | 3 -
python/tvm/ffi/cython/dtype.pxi | 2 +-
python/tvm/ffi/cython/object.pxi | 3 +-
python/tvm/ffi/cython/string.pxi | 2 -
python/tvm/ffi/dtype.py | 21 --
python/tvm/meta_schedule/cost_model/mlp_model.py | 5 +-
python/tvm/relax/op/create.py | 2 +-
python/tvm/runtime/ndarray.py | 6 +-
src/node/structural_hash.cc | 30 --
src/runtime/metal/metal_module.mm | 2 +-
src/target/source/codegen_c_host.cc | 6 +-
src/tir/ir/expr.cc | 55 ++-
src/tir/schedule/instruction_traits.h | 9 +-
.../test_runtime_packed_func.py | 1 +
.../contrib/test_hexagon/test_parallel_scalar.py | 6 +-
tests/python/ffi/test_dtype.py | 8 -
tests/python/ffi/test_string.py | 26 --
tests/python/relax/test_op_inspect.py | 53 ++-
tests/python/relax/test_op_misc.py | 2 +-
tests/python/relax/test_vm_build.py | 8 +-
tests/python/relax/test_vm_callback_function.py | 11 +-
tests/python/relax/test_vm_codegen_only.py | 2 +-
35 files changed, 1197 insertions(+), 218 deletions(-)
copy python/tvm/{contrib/msc => _ffi/_cy3}/__init__.py (97%)
create mode 100644 python/tvm/_ffi/_cython/base.pxi
copy conda/recipe/conda_build_config.yaml => python/tvm/_ffi/_cython/core.pyx
(89%)
create mode 100644 python/tvm/_ffi/_cython/ndarray.pxi
create mode 100644 python/tvm/_ffi/_cython/object.pxi
create mode 100644 python/tvm/_ffi/_cython/packed_func.pxi