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/09/10 15:39:19 UTC
[incubator-tvm] branch master updated (b05aa96 -> 6b6661e)
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 b05aa96 [Rust] Improve the error reporting in build.rs files by using anyhow. (#6401)
add 6b6661e [Target] Tags, Composite Target, Unified Interface (#6369)
No new revisions were added by this update.
Summary of changes:
apps/benchmark/gpu_imagenet_bench.py | 2 +-
apps/topi_recipe/conv/test_conv_int8_arm.py | 2 +-
apps/topi_recipe/conv/test_conv_int8_intel.py | 2 +-
apps/topi_recipe/gemm/gemm_int8.py | 2 +-
include/tvm/target/tag.h | 155 ++++
include/tvm/target/target.h | 110 +--
include/tvm/target/target_kind.h | 94 ++-
python/tvm/autotvm/feature.py | 13 +-
python/tvm/autotvm/graph_tuner/base_graph_tuner.py | 68 +-
python/tvm/autotvm/measure/measure_methods.py | 32 +-
python/tvm/autotvm/record.py | 33 +-
python/tvm/autotvm/task/dispatcher.py | 8 +-
python/tvm/autotvm/task/task.py | 50 +-
python/tvm/autotvm/task/topi_integration.py | 9 +-
python/tvm/autotvm/tophub.py | 22 +-
python/tvm/contrib/peak.py | 22 +-
python/tvm/driver/build_module.py | 14 +-
python/tvm/relay/backend/compile_engine.py | 11 +-
python/tvm/relay/backend/graph_runtime_codegen.py | 11 +-
python/tvm/relay/backend/vm.py | 12 +-
python/tvm/relay/build_module.py | 32 +-
python/tvm/relay/testing/py_converter.py | 4 +-
python/tvm/target/__init__.py | 3 +-
python/tvm/target/codegen.py | 4 +-
python/tvm/target/intrin.py | 5 +-
python/tvm/target/tag.py | 78 ++
python/tvm/target/target.py | 149 ++--
python/tvm/te/hybrid/calls.py | 6 +-
python/tvm/te/hybrid/runtime.py | 67 +-
python/tvm/topi/cuda/conv2d_hwnc_tensorcore.py | 8 +-
python/tvm/topi/cuda/softmax.py | 5 +-
python/tvm/topi/generic/__init__.py | 2 +-
python/tvm/topi/testing/common.py | 2 +-
rust/tvm/examples/resnet/src/build_resnet.py | 2 +-
src/auto_scheduler/measure_record.cc | 2 +-
src/driver/driver_api.cc | 8 +-
src/relay/backend/build_module.cc | 8 +-
src/relay/backend/compile_engine.cc | 2 +-
src/relay/backend/graph_runtime_codegen.cc | 2 +-
src/relay/backend/interpreter.cc | 2 +-
src/relay/backend/vm/compiler.cc | 8 +-
src/relay/transforms/fold_constant.cc | 2 +-
src/relay/transforms/partial_eval.cc | 2 +-
src/target/build_common.h | 16 -
src/target/llvm/codegen_amdgpu.cc | 64 +-
src/target/llvm/codegen_blob.cc | 2 +-
src/target/llvm/codegen_nvptx.cc | 34 +-
src/target/llvm/llvm_module.cc | 10 +-
src/target/tag.cc | 77 ++
src/target/target.cc | 784 +++++++++++----------
src/target/target_kind.cc | 335 +++++----
src/topi/schedule.cc | 2 +-
tests/cpp/build_module_test.cc | 8 +-
tests/cpp/relay_build_module_test.cc | 2 +-
tests/cpp/relay_transform_sequential_test.cc | 2 +-
tests/cpp/target_test.cc | 19 +-
tests/cpp/utvm_runtime_standalone_test.cc | 2 +-
tests/python/contrib/test_ethosn/infrastructure.py | 4 +-
tests/python/integration/test_ewise.py | 4 +-
tests/python/integration/test_gemm.py | 2 +-
tests/python/integration/test_winograd_nnpack.py | 2 +-
tests/python/relay/test_backend_compile_engine.py | 4 +-
tests/python/relay/test_backend_interpreter.py | 2 +-
tests/python/relay/test_pass_alter_op_layout.py | 6 +-
tests/python/relay/test_pass_auto_quantize.py | 2 +-
tests/python/relay/test_pass_fold_constant.py | 2 +-
tests/python/relay/test_pass_manager.py | 2 +-
tests/python/relay/test_pass_qnn_legalize.py | 36 +-
tests/python/topi/python/test_fifo_buffer.py | 4 +-
tests/python/topi/python/test_topi_batch_matmul.py | 2 +-
.../topi/python/test_topi_bitserial_conv2d.py | 4 +-
.../topi/python/test_topi_bitserial_conv2d_rasp.py | 2 +-
tests/python/topi/python/test_topi_bnn.py | 2 +-
tests/python/topi/python/test_topi_broadcast.py | 10 +-
tests/python/topi/python/test_topi_clip.py | 2 +-
tests/python/topi/python/test_topi_conv1d.py | 2 +-
.../topi/python/test_topi_conv1d_transpose_ncw.py | 2 +-
tests/python/topi/python/test_topi_conv2d_NCHWc.py | 2 +-
tests/python/topi/python/test_topi_conv2d_hwcn.py | 2 +-
.../python/test_topi_conv2d_hwnc_tensorcore.py | 2 +-
tests/python/topi/python/test_topi_conv2d_int8.py | 8 +-
tests/python/topi/python/test_topi_conv2d_nchw.py | 2 +-
tests/python/topi/python/test_topi_conv2d_nhwc.py | 2 +-
.../topi/python/test_topi_conv2d_nhwc_pack_int8.py | 2 +-
.../python/test_topi_conv2d_nhwc_tensorcore.py | 2 +-
.../topi/python/test_topi_conv2d_nhwc_winograd.py | 2 +-
.../topi/python/test_topi_conv2d_transpose_nchw.py | 2 +-
.../topi/python/test_topi_conv2d_winograd.py | 2 +-
tests/python/topi/python/test_topi_conv3d_ncdhw.py | 2 +-
tests/python/topi/python/test_topi_conv3d_ndhwc.py | 2 +-
.../python/test_topi_conv3d_ndhwc_tensorcore.py | 2 +-
.../python/test_topi_conv3d_transpose_ncdhw.py | 2 +-
.../topi/python/test_topi_conv3d_winograd.py | 2 +-
tests/python/topi/python/test_topi_correlation.py | 2 +-
.../topi/python/test_topi_deformable_conv2d.py | 2 +-
tests/python/topi/python/test_topi_dense.py | 4 +-
.../topi/python/test_topi_dense_tensorcore.py | 2 +-
.../python/topi/python/test_topi_depth_to_space.py | 2 +-
.../topi/python/test_topi_depthwise_conv2d.py | 6 +-
tests/python/topi/python/test_topi_group_conv2d.py | 4 +-
.../python/test_topi_group_conv2d_NCHWc_int8.py | 2 +-
tests/python/topi/python/test_topi_image.py | 10 +-
tests/python/topi/python/test_topi_lrn.py | 2 +-
tests/python/topi/python/test_topi_math.py | 10 +-
tests/python/topi/python/test_topi_pooling.py | 12 +-
tests/python/topi/python/test_topi_reduce.py | 2 +-
tests/python/topi/python/test_topi_relu.py | 2 +-
tests/python/topi/python/test_topi_reorg.py | 2 +-
tests/python/topi/python/test_topi_softmax.py | 2 +-
tests/python/topi/python/test_topi_sort.py | 4 +-
.../python/topi/python/test_topi_space_to_depth.py | 2 +-
tests/python/topi/python/test_topi_sparse.py | 4 +-
tests/python/topi/python/test_topi_tensor.py | 2 +-
tests/python/topi/python/test_topi_transform.py | 60 +-
tests/python/topi/python/test_topi_upsampling.py | 4 +-
tests/python/topi/python/test_topi_vision.py | 14 +-
.../unittest/test_auto_scheduler_cost_model.py | 8 +-
.../test_auto_scheduler_evolutionary_search.py | 11 +-
.../python/unittest/test_auto_scheduler_feature.py | 31 +-
.../python/unittest/test_auto_scheduler_measure.py | 19 +-
.../unittest/test_auto_scheduler_search_policy.py | 13 +-
.../test_auto_scheduler_sketch_generation.py | 2 +-
tests/python/unittest/test_autotvm_common.py | 15 +-
tests/python/unittest/test_autotvm_measure.py | 6 +-
.../python/unittest/test_runtime_heterogeneous.py | 16 +-
tests/python/unittest/test_target_codegen_cuda.py | 168 +++--
tests/python/unittest/test_target_codegen_llvm.py | 143 ++--
.../unittest/test_target_custom_datatypes.py | 2 +-
tests/python/unittest/test_target_target.py | 29 +-
tests/python/unittest/test_te_hybrid_script.py | 2 +-
tests/python/unittest/test_te_tensor_overload.py | 38 +-
.../unittest/test_tir_analysis_verify_memory.py | 122 ++--
.../unittest/test_tir_transform_lower_intrin.py | 73 +-
.../test_tir_transform_lower_warp_memory.py | 46 +-
.../unittest/test_tir_transform_make_packed_api.py | 2 +-
.../unittest/test_tir_transform_thread_sync.py | 11 +-
tutorials/autotvm/tune_conv2d_cuda.py | 2 +-
tutorials/autotvm/tune_relay_arm.py | 2 +-
tutorials/autotvm/tune_relay_mobile_gpu.py | 2 +-
tutorials/autotvm/tune_simple_template.py | 2 +-
tutorials/dev/use_pass_infra.py | 4 +-
tutorials/frontend/deploy_model_on_rasp.py | 4 +-
tutorials/language/tedd.py | 2 +-
tutorials/optimize/opt_matmul_auto_tensorcore.py | 2 +-
tutorials/topi/intro_topi.py | 4 +-
145 files changed, 2017 insertions(+), 1486 deletions(-)
create mode 100644 include/tvm/target/tag.h
create mode 100644 python/tvm/target/tag.py
create mode 100644 src/target/tag.cc