You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2019/11/21 04:31:03 UTC

[GitHub] [incubator-tvm] liangfu opened a new pull request #4392: [VTA] Enable streamlined GEMM execution

liangfu opened a new pull request #4392: [VTA] Enable streamlined GEMM execution
URL: https://github.com/apache/incubator-tvm/pull/4392
 
 
   This PR fixed an issue in the streamlined GEMM execution by disabling pipelined adder, which consumes 4 cycles (in case of LOG_BLOCK=4) in addition to the single-cycle fused multiplier-adder. This is much longer than the 4-stage streamline design in the `TensorGemm` module, so instead of creating a routine to wait for the pipelined adder, this PR disabled the pipelined adder and bring the accumulated results to the output instantly.
   
   Previously, the SMT schedule for GEMM in `test_vta_insn.py` was successful simply because the streamlined GEMM execution doesn't accumulate on the row, so there is no dependency between stage cycles in the TensorGemm module.
   
   In addition, this PR brings successful evaluation of `matrix_multiply.py`, `matrix_multiply_opt.py` and `convolution_opt.py` under the `tutorials` directory.
   
   @vegaluisjose @tmoreau89 Please review.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services