             printf("%3.1f ", mat_new[i*N + j]);
         }
         printf("\n");
-    }
+    }*/
 
     free(mat);
     free(mat_new);


    fill_matrix(mat);

    transpose_cpu(mat, mat_new);

    // show orignal mat, for debug purposes
    printf("original_mat: \n");
    for(int i = 0; i < N; i++){
        for(int j = 0; j < N; j++){
            printf("%3.1f ", mat[i*N + j]);

#include <stdio.h>
#include <time.h>
#include "timer.h"
#include "utils.h"

const int N = 1024;  // we are transposing a N by N mat
const int K = 1;

void fill_matrix(float* mat){
