     printf(    "Test %s\n", (1    == res)    ? "PASSED" : "FAILED");
     printf("==================================================================\n");
 
+    printf("GPU transpose average time: %0.3f ms\n", gpuTime / numIterations);
+    printf("CPU transpose average time: %0.3f ms\n", cpuTime / numIterations);
+
     // cleanup memory
     free(h_idata);
     free(h_odata);

    cutStopTimer(timer);
    float cpuTime = cutGetTimerValue(timer);

    printf("CPU transpose average time: %0.3f ms\n\n", cpuTime / numIterations);

    // check result


    cutStopTimer(timer);
    float gpuTime = cutGetTimerValue(timer);

    printf("GPU transpose average time: %0.3f ms\n", gpuTime / numIterations);

    // check if kernel execution generated and error
    CUT_CHECK_ERROR("Kernel execution failed");
