Documents about the design
Closed this issue · 3 comments
Leslie-Fang commented
Is there any documents about the design of Ruy? Maybe it can help us to understand the source code.
Thanks in advance.
Leslie-Fang commented
BTW: What's the difference between pack_avx512 and kernel_avx512?
bjacob commented
indeed we should write design docs.
Some existing comments play that role, in particular to your question, the general idea of 'packing' is as explained here,
https://github.com/google/ruy/blob/master/ruy/pack.h#L16
ruy's kernels don't directly read from the source matrices. they read from internal intermediate "packed" matrices created by the packing code.
Leslie-Fang commented
Thanks for the kind explanation. Close it now.