You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2020/01/09 23:30:40 UTC

[incubator-tvm] branch master updated (619c63c -> d6a23cf)

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 619c63c  Use int for endch to fix portability issues regarding signed/unsigned char (#4668)
     add d6a23cf  [REFACTOR][IR] tvm::Expr -> PrimExpr(Primitive Expr) (#4669)

No new revisions were added by this update.

Summary of changes:
 include/tvm/arithmetic.h                           |  62 ++---
 include/tvm/attrs.h                                |   6 +-
 include/tvm/buffer.h                               |  24 +-
 include/tvm/build_module.h                         |   6 +-
 include/tvm/data_layout.h                          |  12 +-
 include/tvm/expr.h                                 |  81 ++++---
 include/tvm/expr_operator.h                        | 200 ++++++++--------
 include/tvm/ir.h                                   | 252 ++++++++++-----------
 include/tvm/ir_functor_ext.h                       |  86 +++----
 include/tvm/ir_pass.h                              |  30 +--
 include/tvm/lowered_func.h                         |   2 +-
 include/tvm/operation.h                            |  50 ++--
 include/tvm/packed_func_ext.h                      |  16 +-
 include/tvm/relay/attrs/transform.h                |   1 +
 include/tvm/relay/base.h                           |   2 +-
 include/tvm/relay/transform.h                      |  12 +-
 include/tvm/runtime/packed_func.h                  |   8 +-
 include/tvm/schedule.h                             |  28 +--
 include/tvm/target_info.h                          |   2 +-
 include/tvm/tensor.h                               |  42 ++--
 include/tvm/tensor_intrin.h                        |   4 +-
 python/tvm/api.py                                  |  14 +-
 python/tvm/contrib/sparse.py                       |   2 +-
 python/tvm/expr.py                                 |  30 +--
 python/tvm/hybrid/calls.py                         |   8 +-
 python/tvm/hybrid/parser.py                        |   2 +-
 python/tvm/schedule.py                             |   4 +-
 python/tvm/tensor.py                               |   2 +-
 python/tvm/tensor_intrin.py                        |   4 +-
 src/api/api_arith.cc                               |   4 +-
 src/api/api_ir.cc                                  |  18 +-
 src/api/api_lang.cc                                |   8 +-
 src/api/api_pass.cc                                |  16 +-
 src/api/api_test.cc                                |   4 +-
 src/arithmetic/analyzer.cc                         |  12 +-
 src/arithmetic/bound_deducer.cc                    |  30 +--
 src/arithmetic/canonical_simplify.cc               | 156 ++++++-------
 src/arithmetic/compute_expr.h                      |  28 +--
 src/arithmetic/const_fold.h                        |  90 ++++----
 src/arithmetic/const_int_bound.cc                  |  22 +-
 src/arithmetic/detect_linear_equation.cc           |  55 ++---
 src/arithmetic/domain_touched.cc                   |   2 +-
 src/arithmetic/int_set.cc                          | 124 +++++-----
 src/arithmetic/int_set.h                           |   8 +-
 src/arithmetic/ir_mutator_with_analyzer.cc         |  34 +--
 src/arithmetic/ir_mutator_with_analyzer.h          |   8 +-
 src/arithmetic/ir_visitor_with_analyzer.h          |   2 +-
 src/arithmetic/modular_set.cc                      |  12 +-
 src/arithmetic/pattern_match.h                     |  34 +--
 src/arithmetic/rewrite_simplify.cc                 | 170 +++++++-------
 src/arithmetic/rewrite_simplify.h                  |  66 +++---
 src/arithmetic/stmt_simplify.cc                    |   8 +-
 src/autotvm/feature_visitor.cc                     |   2 +-
 src/autotvm/feature_visitor.h                      |   4 +-
 src/autotvm/touch_extractor.cc                     |  36 +--
 src/autotvm/touch_extractor.h                      |  10 +-
 src/codegen/build_module.cc                        |  10 +-
 src/codegen/codegen_c.cc                           |  16 +-
 src/codegen/codegen_c.h                            |  16 +-
 src/codegen/codegen_cuda.cc                        |   2 +-
 src/codegen/codegen_cuda.h                         |   2 +-
 src/codegen/codegen_opencl.cc                      |   6 +-
 src/codegen/codegen_opencl.h                       |   6 +-
 src/codegen/codegen_opengl.cc                      |   4 +-
 src/codegen/codegen_opengl.h                       |   4 +-
 src/codegen/codegen_vhls.cc                        |   4 +-
 src/codegen/intrin_rule.cc                         |   4 +-
 src/codegen/intrin_rule.h                          |   2 +-
 src/codegen/llvm/codegen_amdgpu.cc                 |   2 +-
 src/codegen/llvm/codegen_arm.cc                    |  26 +--
 src/codegen/llvm/codegen_cpu.cc                    |  12 +-
 src/codegen/llvm/codegen_cpu.h                     |   6 +-
 src/codegen/llvm/codegen_llvm.cc                   |  16 +-
 src/codegen/llvm/codegen_llvm.h                    |  12 +-
 src/codegen/llvm/intrin_rule_llvm.cc               |  18 +-
 src/codegen/llvm/intrin_rule_llvm.h                |  12 +-
 src/codegen/llvm/intrin_rule_nvptx.cc              |   2 +-
 src/codegen/llvm/intrin_rule_rocm.cc               |   2 +-
 src/codegen/spirv/codegen_spirv.cc                 |  10 +-
 src/codegen/spirv/codegen_spirv.h                  |   8 +-
 src/codegen/spirv/intrin_rule_spirv.cc             |   6 +-
 src/codegen/stackvm/codegen_stackvm.cc             |   4 +-
 src/codegen/stackvm/codegen_stackvm.h              |   8 +-
 src/contrib/hybrid/codegen_hybrid.h                |   6 +-
 src/lang/attrs.cc                                  |   4 +-
 src/lang/buffer.cc                                 | 125 +++++-----
 src/lang/data_layout.cc                            |  48 ++--
 src/lang/expr.cc                                   |  16 +-
 src/lang/expr_operator.cc                          | 172 +++++++-------
 src/lang/ir.cc                                     | 118 +++++-----
 src/lang/tensor.cc                                 |  10 +-
 src/op/compute_op.cc                               |  46 ++--
 src/op/compute_op.h                                |  12 +-
 src/op/cross_thread_reduction.cc                   |  12 +-
 src/op/extern_op.cc                                |   4 +-
 src/op/hybrid_op.cc                                |  24 +-
 src/op/op_util.cc                                  |  24 +-
 src/op/op_util.h                                   |  12 +-
 src/op/placeholder_op.cc                           |   6 +-
 src/op/scan_op.cc                                  |   8 +-
 src/op/tensor_compute_op.cc                        |  14 +-
 src/op/tensorize.cc                                |  38 ++--
 src/pass/arg_binder.cc                             |  54 ++---
 src/pass/arg_binder.h                              |  24 +-
 src/pass/bound_checker.cc                          |  42 ++--
 src/pass/combine_context_call.cc                   |  14 +-
 src/pass/coproc_sync.cc                            |   4 +-
 src/pass/hoist_if_then_else.cc                     |   8 +-
 src/pass/infer_fragment.cc                         |   2 +-
 src/pass/inject_copy_intrin.cc                     |  32 +--
 src/pass/inject_double_buffer.cc                   |  46 ++--
 src/pass/inject_prefetch.cc                        |   2 +-
 src/pass/inject_virtual_thread.cc                  |  48 ++--
 src/pass/inline.cc                                 |  12 +-
 src/pass/ir_deep_compare.cc                        |  52 ++---
 src/pass/ir_functor.cc                             | 164 +++++++-------
 src/pass/ir_util.h                                 |  14 +-
 src/pass/lift_attr_scope.cc                        |  16 +-
 src/pass/loop_partition.cc                         |  48 ++--
 src/pass/lower_custom_datatypes.cc                 |  16 +-
 src/pass/lower_intrin.cc                           |  66 +++---
 src/pass/lower_thread_allreduce.cc                 |  44 ++--
 src/pass/lower_tvm_builtin.cc                      |  50 ++--
 src/pass/lower_warp_memory.cc                      |  34 +--
 src/pass/make_api.cc                               |  20 +-
 src/pass/remap_thread_axis.cc                      |   4 +-
 src/pass/remove_no_op.cc                           |   6 +-
 src/pass/rewrite_unsafe_select.cc                  |  10 +-
 src/pass/simple_passes.cc                          |  32 +--
 src/pass/split_host_device.cc                      |  28 +--
 src/pass/ssa.cc                                    |  36 +--
 src/pass/storage_access.cc                         |  18 +-
 src/pass/storage_flatten.cc                        |  66 +++---
 src/pass/storage_rewrite.cc                        |  39 ++--
 src/pass/storage_sync.cc                           |  20 +-
 src/pass/tensor_core.cc                            | 126 +++++------
 src/pass/unroll_loop.cc                            |   4 +-
 src/pass/vectorize_loop.cc                         | 166 +++++++-------
 src/pass/verify_gpu_code.cc                        |   4 +-
 src/pass/verify_memory.cc                          |   6 +-
 src/relay/backend/build_module.cc                  |   6 +-
 src/relay/backend/compile_engine.cc                |   4 +-
 src/relay/backend/graph_runtime_codegen.cc         |   4 +-
 src/relay/backend/vm/compiler.cc                   |   4 +-
 src/relay/backend/vm/removed_unused_funcs.cc       |   4 +-
 src/relay/ir/expr.cc                               |   2 +-
 src/relay/ir/hash.cc                               |   2 +-
 src/relay/ir/op.cc                                 |   4 +-
 src/relay/op/nn/bitserial.cc                       |   2 +-
 src/relay/op/nn/nn.cc                              |   4 +-
 src/relay/op/nn/nn.h                               |   6 +-
 src/relay/op/nn/pad.cc                             |   4 +-
 src/relay/op/tensor/transform.cc                   |   4 +-
 src/relay/pass/infer_layout_util.h                 |   2 +-
 src/relay/pass/pass_manager.cc                     |  14 +-
 src/relay/pass/type_solver.cc                      |   6 +-
 src/relay/qnn/op/dequantize.cc                     |   2 +-
 src/relay/qnn/op/quantize.cc                       |   2 +-
 src/relay/qnn/op/requantize.cc                     |   2 +-
 src/relay/qnn/util.h                               |   2 +-
 src/schedule/auto_inline_elem_wise.cc              |   4 +-
 src/schedule/graph.cc                              |   4 +-
 src/schedule/graph.h                               |   6 +-
 src/schedule/message_passing.cc                    |  86 +++----
 src/schedule/message_passing.h                     |   8 +-
 src/schedule/schedule_dataflow_rewrite.cc          | 110 ++++-----
 src/schedule/schedule_lang.cc                      |  24 +-
 src/schedule/schedule_ops.cc                       |  12 +-
 tests/cpp/attrs_test.cc                            |   8 +-
 tests/cpp/build_module_test.cc                     |  10 +-
 tests/cpp/container_test.cc                        |  22 +-
 tests/cpp/expr_test.cc                             |   4 +-
 tests/cpp/ir_functor_test.cc                       |   8 +-
 tests/cpp/ir_ssa_test.cc                           |   2 +-
 tests/cpp/packed_func_test.cc                      |   8 +-
 tests/cpp/pattern_match_test.cc                    |   8 +-
 tests/cpp/simple_passes_test.cc                    |   2 +-
 .../unittest/test_lang_tensor_overload_op.py       |  14 +-
 tests/python/unittest/test_pass_lower_intrin.py    |   2 +-
 topi/include/topi/broadcast.h                      |  22 +-
 topi/include/topi/contrib/cublas.h                 |   6 +-
 topi/include/topi/contrib/rocblas.h                |   2 +-
 topi/include/topi/cuda/dense.h                     |   4 +-
 topi/include/topi/cuda/reduction.h                 |   2 +-
 topi/include/topi/detail/broadcast.h               |  18 +-
 topi/include/topi/detail/constant_utils.h          |  17 +-
 topi/include/topi/detail/extern.h                  |  18 +-
 topi/include/topi/detail/pad_utils.h               |   2 +-
 topi/include/topi/detail/ravel_unravel.h           |   8 +-
 topi/include/topi/detail/tensor_utils.h            |   2 +-
 topi/include/topi/elemwise.h                       |  22 +-
 topi/include/topi/image/resize.h                   |  56 ++---
 topi/include/topi/nn.h                             |  40 ++--
 topi/include/topi/nn/bnn.h                         |   8 +-
 topi/include/topi/nn/dilate.h                      |  12 +-
 topi/include/topi/nn/flatten.h                     |  10 +-
 topi/include/topi/nn/local_response_norm.h         |   8 +-
 topi/include/topi/nn/pooling.h                     | 157 ++++++-------
 topi/include/topi/nn/softmax.h                     |   8 +-
 topi/include/topi/nn/upsampling.h                  |   6 +-
 topi/include/topi/reduction.h                      |  42 ++--
 topi/include/topi/transform.h                      | 149 ++++++------
 topi/include/topi/vision/reorg.h                   |   2 +-
 topi/python/topi/nn/pad.py                         |   2 +-
 topi/python/topi/util.py                           |   2 +-
 topi/src/topi.cc                                   |  10 +-
 topi/tests/python/test_topi_broadcast.py           |  12 +-
 207 files changed, 2670 insertions(+), 2650 deletions(-)