aboutsummaryrefslogtreecommitdiff
path: root/cachelab-handout
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-07-22 14:15:24 +0000
committer_ov4 <ov4@ov4.org>2026-07-22 14:15:24 +0000
commitb5353e4398fb9ae5e7b9a4f3defc649a5c9793db (patch)
treef38dcea183fe6fd5a8607befd34c0f442eaf09cb /cachelab-handout
parent17a066826d45713f80520b44c3a261480f616fa0 (diff)
minor fix
Diffstat (limited to 'cachelab-handout')
-rw-r--r--cachelab-handout/trans.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cachelab-handout/trans.c b/cachelab-handout/trans.c
index 7dd0194..e12603b 100644
--- a/cachelab-handout/trans.c
+++ b/cachelab-handout/trans.c
@@ -50,6 +50,8 @@ void transpose_submit(int M, int N, int A[N][M], int B[M][N])
// }
// }
+ // idk but I think it's magic somehow
+ // remove to increase miss by kinda 20
if (i == 7 && j == 7)
{
for (currentGroupI = 0; currentGroupI < larger * blockSize; currentGroupI += blockSize)
@@ -173,7 +175,7 @@ void transpose_submit(int M, int N, int A[N][M], int B[M][N])
[i * larger * blockSize + currentGroupJ + 3] = t3;
}
- // A11 -> A11
+ // A11 -> B11
currentGroupI = 4;
currentGroupJ = 4;
for (i2 = 0; i2 < blockSize; i2++)