[Systloic Array] What is n?
Closed this issue · 4 comments
HaritzPuerto commented
Hello,
I would like to know what n is in the line 8 of the systolic array algorithm.
Thank you
giangnguyen2412 commented
It should be the size of the square matrix nxn
.
jeehoonkang commented
@luulinh90s you're right---thanks for answering the question.
HaritzPuerto commented
Hi, sorry for the late reply. Why square matrix? In the videos, there is no square matrix
Thank you
giangnguyen2412 commented
Hi,
I think square matrix is used to ease the cost and span analysis. Actually, we can freely use Systolic array for matrix multiplication. When the matrix is not square, the cost and span will be a bit odd, so it doesn't matter when you still ultimately get the same cost and span for Matrix Multiplication.