diff --git a/src/trans.c b/src/trans.c index 93bb15b..75ce9a0 100644 --- a/src/trans.c +++ b/src/trans.c @@ -17,7 +17,6 @@ #include "cachelab.h" int is_transpose(int M, int N, int A[N][M], int B[M][N]); - /* * transpose_submit - This is the solution transpose function that you * will be graded on for Part B of the assignment. Do not change @@ -27,7 +26,26 @@ int is_transpose(int M, int N, int A[N][M], int B[M][N]); */ char transpose_submit_desc[] = "Transpose submission"; void transpose_submit(int M, int N, int A[N][M], int B[M][N]) -{ +{ + //343 misses (goal: <300; 0 points if >600) + if(N == 32){ + int n, m, nn, mm; + + for (n=0; n