Row-majored or Column-majored
LeoLai930603 opened this issue · 2 comments
LeoLai930603 commented
I found the definition of MMult0.c and MMult1.c for multi-dimensional array storage, would you like to take a look and see whether both of them are correct?
For MMult0.c
how-to-optimize-gemm/src/HowToOptimizeGemm/MMult0.c
Lines 3 to 5 in ddab74e
For MMult1.c
how-to-optimize-gemm/src/HowToOptimizeGemm/MMult1.c
Lines 3 to 5 in ddab74e
As you see, the positions of i and j are inverted.
tpoisonooo commented
Well, MMult1.c seems not correct, I would fix it latter.
Any PR would be well received.
tpoisonooo commented
Fixed.