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

syfeng pushed a change to branch main
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)

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 ++++-
 15 files changed, 1276 insertions(+), 34 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

Reply via email to