     transpose_cpu(mat, mat_gold);
     diff = clock() - start;
     int msec = diff * 1000 / CLOCKS_PER_SEC;
-    printf("CPU Transpose time taken %d seconds, %d milliseconds \n", msec/1000, msec%1000);
+    printf("CPU Transpose time taken: %g milliseconds \n", msec/1000, msec%1000);
 
 
     float *d_in, *d_out;

        }
        printf("\n");
    }*/

    free(mat);
    free(mat_gold);


    }
}

__global__ transpose_parallel_row(float* mat, float* mat_new){
    int i = threadIdx.x;

    for (int j = 0; j < N; j++){
        mat_new[j+i*N] = mat[i+j*N];
    }
}

int main(int argc, char const *argv[])
{
    size_t mat_size = N * N * sizeof(float);
