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:
[email protected]


With regards,
Apache Git Services

Reply via email to