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/16 23:24:03 UTC
[incubator-tvm] branch master updated (ddef940 -> b826142)
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 ddef940 [Docs] Bring Your Own Codegen Guide -- Part 1 (#4602)
add b826142 [REFACTOR] top - namespace for Tensor Operation DSL (#4727)
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 14 +-
include/tvm/arith/bound.h | 7 +-
include/tvm/build_module.h | 10 +-
include/tvm/ir_pass.h | 9 +-
include/tvm/lowered_func.h | 3 +-
include/tvm/packed_func_ext.h | 7 +-
include/tvm/relay/op_attr_types.h | 28 ++--
include/tvm/{ => top}/operation.h | 22 +--
include/tvm/{ => top}/schedule.h | 20 +--
include/tvm/{ => top}/schedule_pass.h | 14 +-
include/tvm/{ => top}/tensor.h | 21 +--
include/tvm/{ => top}/tensor_intrin.h | 16 ++-
src/README.md | 9 +-
src/api/api_arith.cc | 2 +-
src/api/api_base.cc | 2 +-
src/api/api_lang.cc | 8 +-
src/api/api_pass.cc | 4 +-
src/api/api_schedule.cc | 12 +-
src/api/api_test.cc | 2 +-
src/arith/domain_touched.cc | 11 +-
src/codegen/build_module.cc | 26 ++--
src/contrib/hybrid/codegen_hybrid.h | 3 +-
src/pass/inject_prefetch.cc | 2 +-
src/pass/storage_flatten.cc | 14 +-
src/pass/tensor_core.cc | 11 +-
src/pass/verify_compact_buffer.cc | 2 +-
src/relay/backend/compile_engine.cc | 136 +++++++++----------
src/relay/backend/compile_engine.h | 4 +-
src/relay/backend/utils.h | 2 +-
src/relay/backend/vm/compiler.cc | 2 +-
src/relay/op/annotation/annotation.cc | 30 ++--
src/relay/op/debug.cc | 6 +-
src/relay/op/memory/memory.cc | 20 +--
src/relay/op/nn/nn.cc | 28 ++--
src/relay/op/nn/pad.cc | 6 +-
src/relay/op/nn/pooling.cc | 42 +++---
src/relay/op/tensor/binary.cc | 8 +-
src/relay/op/tensor/reduce.cc | 44 +++---
src/relay/op/tensor/transform.cc | 151 +++++++++++----------
src/relay/op/tensor/unary.cc | 14 +-
src/relay/op/vision/yolo.cc | 4 +-
src/relay/pass/alter_op_layout.cc | 6 +-
src/relay/pass/convert_layout.cc | 6 +-
src/relay/pass/gradient.cc | 2 +-
src/relay/pass/legalize.cc | 2 +-
src/{op => top/operation}/compute_op.cc | 34 ++---
src/{op => top/operation}/compute_op.h | 10 +-
.../operation}/cross_thread_reduction.cc | 12 +-
src/{op => top/operation}/extern_op.cc | 6 +-
src/{op => top/operation}/hybrid_op.cc | 20 ++-
src/{op => top/operation}/hybrid_op.h | 19 +--
src/{op => top/operation}/op_util.cc | 12 +-
src/{op => top/operation}/op_util.h | 16 +--
src/{op => top/operation}/placeholder_op.cc | 4 +-
src/{op => top/operation}/scan_op.cc | 12 +-
src/{op => top/operation}/tensor_compute_op.cc | 27 ++--
src/{op => top/operation}/tensorize.cc | 25 ++--
src/{ => top}/schedule/auto_inline_elem_wise.cc | 8 +-
src/{ => top}/schedule/bound.cc | 10 +-
src/{ => top}/schedule/graph.cc | 14 +-
src/{ => top}/schedule/graph.h | 14 +-
src/{ => top}/schedule/message_passing.cc | 6 +-
src/{ => top}/schedule/message_passing.h | 14 +-
.../schedule/schedule_dataflow_rewrite.cc | 32 ++---
src/{ => top}/schedule/schedule_lang.cc | 16 +--
src/{ => top}/schedule/schedule_ops.cc | 12 +-
src/{lang => top}/tensor.cc | 9 +-
tests/cpp/build_module_test.cc | 4 +-
tests/cpp/expr_test.cc | 2 +-
tests/cpp/ir_simplify_test.cc | 2 +-
tests/cpp/relay_build_module_test.cc | 2 +-
tests/cpp/relay_pass_type_infer_test.cc | 2 +-
tests/cpp/relay_transform_sequential.cc | 2 +-
tests/cpp/simple_passes_test.cc | 4 +-
tests/cpp/tensor_test.cc | 14 +-
tests/cpp/topi_ewise_test.cc | 2 +-
tests/cpp/utvm_runtime_standalone_test.cc | 2 +-
topi/include/topi/broadcast.h | 40 +++---
topi/include/topi/contrib/cublas.h | 3 +-
topi/include/topi/contrib/rocblas.h | 3 +-
topi/include/topi/cuda/dense.h | 13 +-
topi/include/topi/cuda/injective.h | 7 +-
topi/include/topi/cuda/normalization.h | 3 +-
topi/include/topi/cuda/pooling.h | 3 +-
topi/include/topi/cuda/reduction.h | 3 +-
topi/include/topi/cuda/softmax.h | 9 +-
topi/include/topi/detail/array_utils.h | 3 +-
topi/include/topi/detail/broadcast.h | 12 +-
topi/include/topi/detail/constant_utils.h | 1 +
topi/include/topi/detail/extern.h | 3 +-
topi/include/topi/detail/fuse.h | 3 +-
topi/include/topi/detail/pad_utils.h | 1 +
topi/include/topi/detail/ravel_unravel.h | 3 +-
topi/include/topi/detail/tensor_utils.h | 1 +
topi/include/topi/elemwise.h | 1 +
topi/include/topi/generic/default.h | 5 +-
topi/include/topi/generic/extern.h | 5 +-
topi/include/topi/generic/injective.h | 7 +-
topi/include/topi/image/resize.h | 3 +-
topi/include/topi/nn.h | 51 +++----
topi/include/topi/nn/batch_matmul.h | 9 +-
topi/include/topi/nn/bias_add.h | 6 +-
topi/include/topi/nn/bnn.h | 15 +-
topi/include/topi/nn/dense.h | 13 +-
topi/include/topi/nn/dilate.h | 5 +-
topi/include/topi/nn/flatten.h | 5 +-
topi/include/topi/nn/l2_normalize.h | 5 +-
topi/include/topi/nn/local_response_norm.h | 9 +-
topi/include/topi/nn/mapping.h | 7 +-
topi/include/topi/nn/pooling.h | 25 ++--
topi/include/topi/nn/softmax.h | 17 +--
topi/include/topi/nn/upsampling.h | 1 +
topi/include/topi/reduction.h | 9 +-
topi/include/topi/rocm/dense.h | 13 +-
topi/include/topi/rocm/injective.h | 5 +-
topi/include/topi/rocm/normalization.h | 3 +-
topi/include/topi/rocm/pooling.h | 3 +-
topi/include/topi/rocm/reduction.h | 3 +-
topi/include/topi/rocm/softmax.h | 3 +-
topi/include/topi/transform.h | 13 +-
topi/include/topi/vision/reorg.h | 5 +-
topi/include/topi/x86/bnn.h | 3 +-
topi/include/topi/x86/default.h | 5 +-
topi/include/topi/x86/injective.h | 7 +-
topi/src/topi.cc | 28 ++--
125 files changed, 830 insertions(+), 730 deletions(-)
rename include/tvm/{ => top}/operation.h (98%)
rename include/tvm/{ => top}/schedule.h (99%)
rename include/tvm/{ => top}/schedule_pass.h (92%)
rename include/tvm/{ => top}/tensor.h (95%)
rename include/tvm/{ => top}/tensor_intrin.h (96%)
rename src/{op => top/operation}/compute_op.cc (96%)
rename src/{op => top/operation}/compute_op.h (95%)
rename src/{op => top/operation}/cross_thread_reduction.cc (93%)
rename src/{op => top/operation}/extern_op.cc (98%)
rename src/{op => top/operation}/hybrid_op.cc (97%)
rename src/{op => top/operation}/hybrid_op.h (92%)
rename src/{op => top/operation}/op_util.cc (97%)
rename src/{op => top/operation}/op_util.h (93%)
rename src/{op => top/operation}/placeholder_op.cc (97%)
rename src/{op => top/operation}/scan_op.cc (98%)
rename src/{op => top/operation}/tensor_compute_op.cc (92%)
rename src/{op => top/operation}/tensorize.cc (97%)
rename src/{ => top}/schedule/auto_inline_elem_wise.cc (96%)
rename src/{ => top}/schedule/bound.cc (98%)
rename src/{ => top}/schedule/graph.cc (98%)
rename src/{ => top}/schedule/graph.h (95%)
rename src/{ => top}/schedule/message_passing.cc (99%)
rename src/{ => top}/schedule/message_passing.h (95%)
rename src/{ => top}/schedule/schedule_dataflow_rewrite.cc (97%)
rename src/{ => top}/schedule/schedule_lang.cc (99%)
rename src/{ => top}/schedule/schedule_ops.cc (98%)
rename src/{lang => top}/tensor.cc (97%)