This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch nightly
in repository https://gitbox.apache.org/repos/asf/tvm.git
from 89f9573dd8 [TIR] Decouple DeepEqual from StructuralEqual (#18151)
add e05064f414 [FFI] Structural equal and hash based on reflection (#18156)
add 5e12a5cc97 [Fix][Relax] Fix potential out-of-bounds access in
`TupleRewriterNode` (#18120)
No new revisions were added by this update.
Summary of changes:
ffi/CMakeLists.txt | 3 +
ffi/include/tvm/ffi/c_api.h | 104 +++++-
ffi/include/tvm/ffi/object.h | 2 +
ffi/include/tvm/ffi/reflection/access_path.h | 108 +++++++
ffi/include/tvm/ffi/reflection/registry.h | 40 ++-
ffi/include/tvm/ffi/reflection/structural_equal.h | 80 +++++
ffi/include/tvm/ffi/reflection/structural_hash.h | 58 ++++
ffi/include/tvm/ffi/string.h | 3 +-
ffi/src/ffi/container.cc | 3 +-
.../src/ffi/reflection/access_path.cc | 23 +-
ffi/src/ffi/reflection/structural_equal.cc | 349 +++++++++++++++++++++
ffi/src/ffi/reflection/structural_hash.cc | 265 ++++++++++++++++
...t_reflection.cc => test_reflection_accessor.cc} | 21 +-
.../cpp/test_reflection_structural_equal_hash.cc | 172 ++++++++++
ffi/tests/cpp/testing_object.h | 79 ++++-
src/relax/ir/dataflow_expr_rewriter.cc | 5 +-
16 files changed, 1279 insertions(+), 36 deletions(-)
create mode 100644 ffi/include/tvm/ffi/reflection/access_path.h
create mode 100644 ffi/include/tvm/ffi/reflection/structural_equal.h
create mode 100644 ffi/include/tvm/ffi/reflection/structural_hash.h
copy tests/cpp/topi_ewise_test.cc => ffi/src/ffi/reflection/access_path.cc
(75%)
create mode 100644 ffi/src/ffi/reflection/structural_equal.cc
create mode 100644 ffi/src/ffi/reflection/structural_hash.cc
rename ffi/tests/cpp/{test_reflection.cc => test_reflection_accessor.cc} (88%)
create mode 100644 ffi/tests/cpp/test_reflection_structural_equal_hash.cc