Open jingshaojing opened 2 years ago
in main_cpu.cpp, printf("Average SVD takes %f microseconds \n ", 1e6*(double(end - start) / 1e6 / CLOCKS_PER_SEC ) ); , this is ms?
printf("Average SVD takes %f microseconds \n ", 1e6*(double(end - start) / 1e6 / CLOCKS_PER_SEC ) );
double(end - start)/CLOCKS_PER_SEC is seconds.
the time in main_cpu.cpp is calculte svd for 1e6 times. so the right time = time/1e6, rather than multile 1e6 another.
please give yuor comment.thanks
in main_cpu.cpp,
printf("Average SVD takes %f microseconds \n ", 1e6*(double(end - start) / 1e6 / CLOCKS_PER_SEC ) );
, this is ms?