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 a40f73f04d [NVSHMEM] Extend CUDA backend to compile and link TIR
modules with NVSHMEM (#18093)
add c5c733c362 [FFI][REFACTOR] Migrate attrs to use new reflection (#18095)
add f0e62eb5b2 [REFACTOR] Transition VisitAttrs to new reflection
mechanism in tir/ir_builder/meta_schedule (#18096)
No new revisions were added by this update.
Summary of changes:
ffi/include/tvm/ffi/dtype.h | 4 +
ffi/include/tvm/ffi/reflection/reflection.h | 13 +-
ffi/include/tvm/ffi/type_traits.h | 40 +
ffi/src/ffi/object.cc | 39 +-
ffi/tests/cpp/test_any.cc | 18 +
include/tvm/arith/analyzer.h | 21 +-
include/tvm/arith/int_solver.h | 37 +-
include/tvm/arith/iter_affine_map.h | 55 +-
include/tvm/ir/attrs.h | 52 +-
include/tvm/ir/expr.h | 66 +-
include/tvm/meta_schedule/arg_info.h | 11 +-
include/tvm/meta_schedule/builder.h | 30 +-
include/tvm/meta_schedule/cost_model.h | 14 +-
include/tvm/meta_schedule/database.h | 49 +-
include/tvm/meta_schedule/extracted_task.h | 16 +-
include/tvm/meta_schedule/feature_extractor.h | 15 +-
include/tvm/meta_schedule/measure_callback.h | 15 +-
include/tvm/meta_schedule/measure_candidate.h | 11 +-
include/tvm/meta_schedule/mutator.h | 19 +-
include/tvm/meta_schedule/postproc.h | 19 +-
include/tvm/meta_schedule/profiler.h | 9 +-
include/tvm/meta_schedule/runner.h | 35 +-
include/tvm/meta_schedule/schedule_rule.h | 19 +-
include/tvm/meta_schedule/search_strategy.h | 17 +-
include/tvm/meta_schedule/space_generator.h | 24 +-
include/tvm/meta_schedule/task_scheduler.h | 53 +-
include/tvm/meta_schedule/tune_context.h | 24 +-
include/tvm/relax/attrs/create.h | 22 +-
include/tvm/relax/attrs/datatype.h | 20 +-
include/tvm/relax/attrs/distributed.h | 15 +-
include/tvm/relax/attrs/image.h | 69 +-
include/tvm/relax/attrs/index.h | 29 +-
include/tvm/relax/attrs/linear_algebra.h | 22 +-
include/tvm/relax/attrs/manipulate.h | 265 +++++--
include/tvm/relax/attrs/nn.h | 861 ++++++++++++---------
include/tvm/relax/attrs/op.h | 86 +-
include/tvm/relax/attrs/qdq.h | 20 +-
include/tvm/relax/attrs/sampling.h | 14 +-
include/tvm/relax/attrs/search.h | 19 +-
include/tvm/relax/attrs/sorting.h | 92 ++-
include/tvm/relax/attrs/statistical.h | 45 +-
include/tvm/runtime/data_type.h | 4 +
include/tvm/script/ir_builder/base.h | 19 +-
include/tvm/script/ir_builder/ir/frame.h | 16 +-
include/tvm/script/ir_builder/relax/frame.h | 88 ++-
include/tvm/script/ir_builder/tir/frame.h | 223 ++++--
include/tvm/target/virtual_device.h | 31 +-
include/tvm/tir/expr.h | 195 ++---
include/tvm/tir/stmt.h | 245 +++---
include/tvm/tir/var.h | 29 +-
python/tvm/tir/transform/transform.py | 2 +-
src/arith/canonical_simplify.cc | 3 -
src/arith/const_int_bound.cc | 2 +
src/arith/int_constraints.cc | 6 +
src/arith/iter_affine_map.cc | 7 +
src/arith/modular_set.cc | 2 +
src/contrib/msc/core/ir/graph_builder.h | 1 +
src/ir/attrs.cc | 3 +
src/ir/expr.cc | 12 +
src/meta_schedule/arg_info.cc | 1 +
src/meta_schedule/builder/builder.cc | 6 +
src/meta_schedule/database/database.cc | 6 +
src/meta_schedule/database/json_database.cc | 14 +-
src/meta_schedule/database/memory_database.cc | 14 +-
.../database/ordered_union_database.cc | 12 +-
src/meta_schedule/database/schedule_fn_database.cc | 12 +-
src/meta_schedule/database/union_database.cc | 11 +-
src/meta_schedule/extracted_task.cc | 2 +
.../feature_extractor/feature_extractor.cc | 5 +
.../feature_extractor/per_store_feature.cc | 18 +-
.../measure_callback/measure_callback.cc | 5 +
.../mutator/mutate_compute_location.cc | 12 +-
src/meta_schedule/mutator/mutate_parallel.cc | 13 +-
src/meta_schedule/mutator/mutate_thread_binding.cc | 12 +-
src/meta_schedule/mutator/mutate_tile_size.cc | 12 +-
src/meta_schedule/mutator/mutate_unroll.cc | 12 +-
src/meta_schedule/mutator/mutator.cc | 5 +
src/meta_schedule/postproc/postproc.cc | 5 +
.../postproc/rewrite_cooperative_fetch.cc | 12 +-
.../postproc/rewrite_reduction_block.cc | 12 +-
src/meta_schedule/postproc/rewrite_tensorize.cc | 10 +-
.../postproc/rewrite_unbound_block.cc | 10 +-
src/meta_schedule/profiler.cc | 2 +
src/meta_schedule/runner/runner.cc | 7 +
src/meta_schedule/schedule_rule/add_rfactor.cc | 14 +-
.../schedule_rule/apply_custom_rule.cc | 10 +-
src/meta_schedule/schedule_rule/auto_bind.cc | 12 +-
src/meta_schedule/schedule_rule/auto_inline.cc | 30 +-
.../schedule_rule/cross_thread_reduction.cc | 15 +-
.../schedule_rule/multi_level_tiling.cc | 2 +
.../schedule_rule/multi_level_tiling.h | 20 +-
.../schedule_rule/parallel_vectorize_unroll.cc | 17 +-
.../schedule_rule/random_compute_location.cc | 11 +-
src/meta_schedule/schedule_rule/schedule_rule.cc | 5 +
.../search_strategy/evolutionary_search.cc | 37 +-
src/meta_schedule/search_strategy/replay_func.cc | 8 +-
src/meta_schedule/search_strategy/replay_trace.cc | 14 +-
.../search_strategy/search_strategy.cc | 5 +
.../space_generator/post_order_apply.cc | 12 +-
src/meta_schedule/space_generator/schedule_fn.cc | 11 +-
.../space_generator/space_generator.cc | 5 +
.../space_generator/space_generator_union.cc | 13 +-
src/meta_schedule/task_scheduler/gradient_based.cc | 18 +-
src/meta_schedule/task_scheduler/round_robin.cc | 12 +-
src/meta_schedule/task_scheduler/task_scheduler.cc | 6 +
src/meta_schedule/tune_context.cc | 2 +
src/node/reflection.cc | 43 +-
src/node/serialization.cc | 85 +-
src/relax/backend/contrib/clml/codegen.cc | 16 +-
src/relax/backend/contrib/tensorrt/codegen.cc | 32 +-
src/relax/op/distributed/distributed.cc | 2 +
src/relax/op/image/resize.cc | 2 +
src/relax/op/nn/attention.cc | 2 +
src/relax/op/nn/convolution.cc | 8 +
src/relax/op/nn/nn.cc | 16 +
src/relax/op/nn/pooling.cc | 9 +
src/relax/op/op.cc | 8 +
src/relax/op/tensor/create.cc | 5 +
src/relax/op/tensor/datatype.cc | 5 +
src/relax/op/tensor/index.cc | 5 +
src/relax/op/tensor/linear_algebra.cc | 5 +
src/relax/op/tensor/manipulate.cc | 23 +-
src/relax/op/tensor/qdq.cc | 2 +
src/relax/op/tensor/sampling.cc | 2 +
src/relax/op/tensor/search.cc | 2 +
src/relax/op/tensor/sorting.cc | 6 +
src/relax/op/tensor/statistical.cc | 5 +
src/script/ir_builder/base.cc | 5 +
src/script/ir_builder/ir/frame.cc | 2 +
src/script/ir_builder/relax/frame.cc | 10 +
src/script/ir_builder/tir/frame.cc | 20 +
src/script/printer/ir_docsifier.cc | 27 +-
src/script/printer/relax/call.cc | 3 +-
src/target/virtual_device.cc | 2 +
src/tir/ir/expr.cc | 36 +
src/tir/ir/stmt.cc | 21 +
src/tir/transforms/hoist_expression.cc | 53 +-
src/tir/transforms/inject_double_buffer.cc | 14 +-
src/tir/transforms/loop_partition.cc | 27 +-
.../reduce_branching_through_overcompute.cc | 22 +-
src/tir/transforms/remove_no_op.cc | 31 +-
src/tir/transforms/simplify.cc | 56 +-
src/tir/transforms/unroll_loop.cc | 38 +-
tests/cpp/attrs_test.cc | 83 --
tests/python/ir/test_node_reflection.py | 2 +-
.../tir-transform/test_tir_transform_hoist_if.py | 24 +-
146 files changed, 2841 insertions(+), 1619 deletions(-)
delete mode 100644 tests/cpp/attrs_test.cc