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 e693452ad8 fix: Complete CHECK update across contrib runtime (#18861)
add 611a815dc1 [TIR][Refactor] Enhance error reporting with structured
AssertStmt and TVMFFIABIBuilder (#18857)
add 6627296c69 [S-TIR][Test] Mark meta_schedule tuning tests as skip
(#18863)
add c481950807 [Relax][Refactor] Phase out FewShotTuning (#18864)
add 521440ea8e [REFACTOR][TIR] Cleanup AttrStmt attributes (#18862)
No new revisions were added by this update.
Summary of changes:
include/tvm/relax/transform.h | 12 -
include/tvm/s_tir/stmt.h | 43 ++
include/tvm/script/ir_builder/tir/frame.h | 9 +-
include/tvm/script/ir_builder/tir/ir.h | 6 +-
include/tvm/tir/builtin.h | 30 +-
include/tvm/tir/stmt.h | 159 +---
python/tvm/relax/transform/__init__.py | 1 -
.../tvm/relax/transform/legalize_ops/inspect_op.py | 38 +-
python/tvm/relax/transform/transform.py | 24 -
python/tvm/script/ir_builder/tir/ir.py | 15 +-
python/tvm/script/parser/tir/parser.py | 32 +-
python/tvm/tir/stmt.py | 25 +-
src/arith/ir_mutator_with_analyzer.cc | 7 +-
src/arith/ir_visitor_with_analyzer.cc | 4 +-
src/relax/op/tensor/inspect.cc | 22 +-
src/relax/transform/few_shot_tuning.cc | 188 -----
src/s_tir/analysis/estimate_flops.cc | 3 -
src/s_tir/analysis/verify_gpu_code.cc | 3 +-
.../postproc/disallow_async_strided_mem_copy.cc | 3 +-
.../multi_level_tiling_tensor_core.cc | 4 +-
src/s_tir/transform/annotate_irregular_loop.cc | 2 +-
src/s_tir/transform/bound_checker.cc | 3 +-
src/s_tir/transform/compact_buffer_region.cc | 2 +-
src/s_tir/transform/inject_double_buffer.cc | 9 +-
src/s_tir/transform/inject_ptx_async_copy.cc | 3 +-
src/s_tir/transform/inject_software_pipeline.cc | 10 +-
src/s_tir/transform/inject_virtual_thread.cc | 7 +-
src/s_tir/transform/loop_partition.cc | 5 +-
src/s_tir/transform/lower_async_dma.cc | 7 +-
.../transform/lower_cross_thread_reduction.cc | 3 +-
src/s_tir/transform/lower_opaque_block.cc | 2 +-
src/s_tir/transform/lower_thread_allreduce.cc | 3 +-
.../transform/merge_shared_memory_allocations.cc | 3 +-
src/s_tir/transform/storage_access.cc | 7 +-
src/s_tir/transform/tensorcore_infer_fragment.cc | 5 +-
src/s_tir/transform/thread_storage_sync.cc | 10 +-
src/s_tir/transform/unify_thread_binding.cc | 3 +-
src/script/ir_builder/tir/frame.cc | 4 +-
src/script/ir_builder/tir/ir.cc | 10 +-
src/script/printer/tir/stmt.cc | 20 +-
src/target/llvm/codegen_cpu.cc | 153 +++-
src/target/llvm/codegen_cpu.h | 7 +
src/target/llvm/codegen_llvm.cc | 8 +-
src/target/source/codegen_c.cc | 107 ++-
src/target/source/codegen_c.h | 2 +
src/target/source/codegen_c_host.cc | 15 +-
src/target/source/codegen_cuda.cc | 9 +-
src/target/spirv/codegen_spirv.cc | 6 +-
src/tir/analysis/verify_memory.cc | 3 +-
src/tir/analysis/verify_well_formed.cc | 1 -
src/tir/ir/buffer.cc | 2 +-
src/tir/ir/data_type_rewriter.cc | 5 +-
src/tir/ir/stmt.cc | 16 +-
src/tir/ir/stmt_functor.cc | 14 +-
src/tir/ir/tir_visitor_with_path.cc | 27 +-
src/tir/transform/annotate_device_regions.cc | 3 +-
src/tir/transform/arg_binder.cc | 329 ---------
src/tir/transform/arg_binder.h | 169 -----
src/tir/transform/bind_target.cc | 5 +-
src/tir/transform/ir_utils.cc | 4 +-
src/tir/transform/ir_utils.h | 3 +-
src/tir/transform/lower_tvm_builtin.cc | 27 +-
src/tir/transform/lower_warp_memory.cc | 3 +-
src/tir/transform/make_packed_api.cc | 148 +---
src/tir/transform/narrow_datatype.cc | 3 +-
src/tir/transform/remove_no_op.cc | 3 +-
src/tir/transform/split_host_device.cc | 4 +-
src/tir/transform/storage_rewrite.cc | 7 +-
src/tir/transform/tvm_ffi_binder.cc | 810 +++++++++++++++++++++
src/tir/transform/tvm_ffi_binder.h | 431 +++++++++++
tests/lint/check_asf_header.py | 22 +-
tests/python/codegen/test_codegen_assert.py | 124 ++++
.../python/codegen/test_codegen_error_handling.py | 466 ++++++++++++
tests/python/codegen/test_target_codegen_llvm.py | 36 +-
.../codegen/test_target_codegen_static_init.py | 26 -
tests/python/relax/test_analysis_well_formed.py | 12 +-
.../python/relax/test_transform_few_shot_tuning.py | 392 ----------
.../meta_schedule/test_meta_schedule_builder.py | 5 +
.../test_meta_schedule_measure_callback.py | 2 +
.../meta_schedule/test_meta_schedule_runner.py | 11 +
...eta_schedule_schedule_rule_apply_custom_rule.py | 1 +
.../test_tir_analysis_verify_well_formed.py | 53 --
tests/python/tir-base/test_tir_constructor.py | 9 +-
.../test_tir_transform_make_packed_api.py | 294 ++++----
.../tvmscript/test_tvmscript_ir_builder_tir.py | 6 +-
.../python/tvmscript/test_tvmscript_printer_tir.py | 2 +-
tests/python/tvmscript/test_tvmscript_roundtrip.py | 48 ++
87 files changed, 2701 insertions(+), 1878 deletions(-)
delete mode 100644 src/relax/transform/few_shot_tuning.cc
delete mode 100644 src/tir/transform/arg_binder.cc
delete mode 100644 src/tir/transform/arg_binder.h
create mode 100644 src/tir/transform/tvm_ffi_binder.cc
create mode 100644 src/tir/transform/tvm_ffi_binder.h
create mode 100644 tests/python/codegen/test_codegen_assert.py
create mode 100644 tests/python/codegen/test_codegen_error_handling.py
delete mode 100644 tests/python/relax/test_transform_few_shot_tuning.py