kaist-cp/cs500

[Systloic Array] What is n?

Closed this issue · 4 comments

Hello,

I would like to know what n is in the line 8 of the systolic array algorithm.

Thank you

It should be the size of the square matrix nxn.

@luulinh90s you're right---thanks for answering the question.

Hi, sorry for the late reply. Why square matrix? In the videos, there is no square matrix
Thank you

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.