change timings to ms
This commit is contained in:
@@ -170,7 +170,7 @@ int main(int argc, char **argv)
|
||||
reset_and_start_timer();
|
||||
const double t0 = rtc();
|
||||
ao_ispc_tasks(width, height, NSUBSAMPLES, fimg);
|
||||
double t = (rtc() - t0); //get_elapsed_mcycles();
|
||||
double t = 1e3*(rtc() - t0); //get_elapsed_mcycles();
|
||||
minTimeISPCTasks = std::min(minTimeISPCTasks, t);
|
||||
}
|
||||
|
||||
|
||||
@@ -470,7 +470,7 @@ int main(int argc, char **argv)
|
||||
int arg_2 = height;
|
||||
int arg_3 = NSUBSAMPLES;
|
||||
void *func_args[] = {&arg_1, &arg_2, &arg_3, (float*)&d_fimg};
|
||||
const double t = CUDALaunch(NULL, func_name, func_args);
|
||||
const double t = 1e3*CUDALaunch(NULL, func_name, func_args);
|
||||
#endif
|
||||
minTimeISPCTasks = std::min(minTimeISPCTasks, t);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user