ericjang/svd3

running time is ms or s?

Opened this issue · 2 comments

in main_cpu.cpp, printf("Average SVD takes %f microseconds \n ", 1e6*(double(end - start) / 1e6 / CLOCKS_PER_SEC ) ); , this is ms?

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