tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tqc...@apache.org
Subject [incubator-tvm] branch master updated (8f433fe -> b8c23d6)
Date Thu, 23 Apr 2020 03:44:37 GMT
This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.


    from 8f433fe  Don't remove() TempDirectory in __del__ after atexit hook runs. (#5414)
     add b8c23d6  [TIR][REFACTOR] Remove ir_pass in favor of analysis/transform. (#5415)

No new revisions were added by this update.

Summary of changes:
 include/tvm/te/schedule_pass.h                     |  10 +-
 include/tvm/tir/analysis.h                         | 105 ++++++++++++++-
 include/tvm/tir/ir_pass.h                          | 145 --------------------
 include/tvm/tir/transform.h                        |  19 ++-
 python/tvm/autotvm/measure/measure_methods.py      |   3 +-
 python/tvm/driver/build_module.py                  |   6 +-
 python/tvm/runtime/packed_func.py                  |   2 -
 python/tvm/target/build_config.py                  |  79 -----------
 python/tvm/tir/__init__.py                         |   1 -
 python/tvm/tir/analysis/analysis.py                |  46 ++++++-
 python/tvm/tir/ir_pass.py                          |  28 ----
 python/tvm/tir/transform/transform.py              |  22 +++
 src/arith/bound_deducer.cc                         |   1 -
 src/arith/detect_linear_equation.cc                |   9 +-
 src/arith/domain_touched.cc                        |   1 -
 src/arith/ir_mutator_with_analyzer.cc              |   2 +-
 src/arith/ir_mutator_with_analyzer.h               |  10 +-
 src/arith/pattern_match.h                          |   6 +-
 src/driver/driver_api.cc                           |  11 +-
 src/relay/backend/build_module.cc                  |   1 -
 src/relay/backend/utils.h                          |   1 -
 src/relay/op/nn/convolution.cc                     |   1 -
 src/relay/op/nn/convolution.h                      |   1 -
 src/target/codegen.cc                              |   1 -
 src/target/llvm/codegen_cpu.cc                     |   1 -
 src/target/llvm/codegen_llvm.h                     |   2 +-
 src/target/spirv/build_vulkan.cc                   |   6 +-
 src/target/spirv/codegen_spirv.cc                  |   1 -
 src/target/spirv/codegen_spirv.h                   |   1 +
 src/te/autodiff/jacobian.cc                        |   1 -
 src/te/operation/compute_op.cc                     |  13 +-
 src/te/operation/cross_thread_reduction.cc         |   1 -
 src/te/operation/hybrid_op.h                       |   4 +-
 src/te/operation/op_util.cc                        |   1 -
 src/te/operation/op_util.h                         |   4 +-
 src/te/operation/scan_op.cc                        |   1 -
 src/te/operation/tensorize.cc                      |  10 +-
 src/te/schedule/bound.cc                           |   1 -
 src/te/schedule/message_passing.cc                 |   1 -
 src/te/schedule/operation_inline.cc                |   4 +-
 src/te/schedule/schedule_dataflow_rewrite.cc       |   3 +-
 src/te/schedule/schedule_ops.cc                    |   4 +-
 .../schedule_postproc_rewrite_for_tensor_core.cc   |   1 -
 .../pass => te/schedule}/verify_compact_buffer.cc  |  13 +-
 .../detect_device.cc => analysis/side_effect.cc}   |  38 ++++--
 .../simple_passes.cc => analysis/var_touch.cc}     |  71 ++--------
 src/tir/{pass => analysis}/verify_gpu_code.cc      |  31 ++++-
 src/tir/analysis/verify_memory.cc                  |  54 +++++---
 src/tir/analysis/verify_ssa.cc                     | 149 +++++++++++++++++++++
 src/tir/ir/buffer.cc                               |   1 -
 src/tir/ir/expr.cc                                 |   6 +-
 src/tir/ir/stmt.cc                                 |   4 +-
 src/tir/pass/hoist_if_then_else.cc                 |   5 +
 src/tir/pass/ir_util.cc                            |  84 ------------
 src/tir/{pass => transforms}/arg_binder.cc         |   1 -
 src/tir/{pass => transforms}/arg_binder.h          |   6 +-
 src/tir/transforms/bound_checker.cc                |   4 -
 src/tir/transforms/combine_context_call.cc         |   1 -
 src/tir/transforms/coproc_sync.cc                  |   7 +-
 .../decorate_device_scope.cc}                      |  55 ++++----
 src/tir/transforms/inject_copy_intrin.cc           |   2 -
 src/tir/transforms/inject_double_buffer.cc         |   6 +-
 src/tir/transforms/inject_virtual_thread.cc        |   5 +-
 src/tir/{pass/ssa.cc => transforms/ir_util.cc}     | 105 ++++++++-------
 src/tir/{pass => transforms}/ir_util.h             |  14 +-
 src/tir/transforms/lift_attr_scope.cc              |   4 +-
 src/tir/transforms/loop_partition.cc               |   6 +-
 .../transforms/lower_device_storage_access_info.cc |   5 +-
 src/tir/transforms/lower_intrin.cc                 |   1 -
 src/tir/transforms/lower_thread_allreduce.cc       |   2 +-
 src/tir/transforms/lower_tvm_builtin.cc            |   3 +-
 src/tir/transforms/lower_warp_memory.cc            |   4 +-
 src/tir/transforms/make_packed_api.cc              |   5 +-
 src/tir/transforms/narrow_datatype.cc              |   5 -
 src/tir/transforms/remove_no_op.cc                 |   5 +-
 src/tir/transforms/rewrite_unsafe_select.cc        |   3 -
 src/tir/transforms/simplify.cc                     |   1 -
 src/tir/transforms/skip_assert.cc                  |   1 -
 src/tir/transforms/split_host_device.cc            |   3 +-
 src/tir/{pass => transforms}/storage_access.cc     |   1 -
 src/tir/{pass => transforms}/storage_access.h      |  10 +-
 src/tir/transforms/storage_flatten.cc              |   4 +-
 src/tir/transforms/storage_rewrite.cc              |  27 ++--
 src/tir/transforms/tensorcore_infer_fragment.cc    |   5 +-
 src/tir/transforms/thread_storage_sync.cc          |   5 +-
 src/tir/transforms/unroll_loop.cc                  |   5 +-
 src/tir/transforms/vectorize_loop.cc               |   7 -
 tests/cpp/ir_ssa_test.cc                           |  49 -------
 tests/cpp/simple_passes_test.cc                    |   2 +-
 ...e_schedule_postproc_rewrite_for_tensor_core.py} |   0
 ...ode.py => test_tir_analysis_verify_gpu_code.py} |   3 +-
 .../unittest/test_tir_analysis_verify_memory.py    |  14 +-
 .../test_tir_analysis_verify_ssa.py}               |  19 +--
 .../unittest/test_tir_pass_attrs_hash_equal.py     |  56 --------
 tests/python/unittest/test_tir_pass_basic.py       |  47 -------
 .../test_tir_pass_decorate_device_scope.py         |  42 ------
 tests/python/unittest/test_tir_pass_hoist_if.py    |  10 +-
 ...rm.py => test_tir_stmt_functor_ir_transform.py} |   0
 .../test_tir_transform_decorate_device_scope.py    |  16 ++-
 .../unittest/test_tir_transform_unroll_loop.py     |  14 +-
 topi/include/topi/elemwise.h                       |   1 -
 101 files changed, 704 insertions(+), 914 deletions(-)
 delete mode 100644 include/tvm/tir/ir_pass.h
 delete mode 100644 python/tvm/tir/ir_pass.py
 rename src/{tir/pass => te/schedule}/verify_compact_buffer.cc (83%)
 rename src/tir/{pass/detect_device.cc => analysis/side_effect.cc} (59%)
 rename src/tir/{pass/simple_passes.cc => analysis/var_touch.cc} (51%)
 rename src/tir/{pass => analysis}/verify_gpu_code.cc (89%)
 create mode 100644 src/tir/analysis/verify_ssa.cc
 delete mode 100644 src/tir/pass/ir_util.cc
 rename src/tir/{pass => transforms}/arg_binder.cc (99%)
 rename src/tir/{pass => transforms}/arg_binder.h (97%)
 rename src/tir/{pass/ffi_api.cc => transforms/decorate_device_scope.cc} (54%)
 rename src/tir/{pass/ssa.cc => transforms/ir_util.cc} (72%)
 rename src/tir/{pass => transforms}/ir_util.h (95%)
 rename src/tir/{pass => transforms}/storage_access.cc (99%)
 rename src/tir/{pass => transforms}/storage_access.h (96%)
 delete mode 100644 tests/cpp/ir_ssa_test.cc
 rename tests/python/unittest/{test_tir_pass_rewrite_for_tensor_core.py => test_te_schedule_postproc_rewrite_for_tensor_core.py}
(100%)
 rename tests/python/unittest/{test_tir_pass_verify_gpu_code.py => test_tir_analysis_verify_gpu_code.py}
(99%)
 copy tests/python/{relay/test_change_batch.py => unittest/test_tir_analysis_verify_ssa.py}
(70%)
 delete mode 100644 tests/python/unittest/test_tir_pass_attrs_hash_equal.py
 delete mode 100644 tests/python/unittest/test_tir_pass_basic.py
 delete mode 100644 tests/python/unittest/test_tir_pass_decorate_device_scope.py
 rename tests/python/unittest/{test_tir_pass_ir_transform.py => test_tir_stmt_functor_ir_transform.py}
(100%)
 copy topi/python/topi/x86/util.py => tests/python/unittest/test_tir_transform_decorate_device_scope.py
(71%)


Mime
View raw message