Skip to content

Commit

Permalink
Fixed minor report bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nlg550 committed Feb 1, 2021
1 parent cf305e1 commit a929c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parallel/ompss2_openacc/simulation.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,11 +432,11 @@ void sim_timings(t_simulation *sim, uint64_t t0, uint64_t t1, const unsigned int
#ifdef ENABLE_AFFINITY
fprintf(stdout, "%s,%d,%f,%d,%d,%d,%d,%f\n", sim->name, get_n_regions(),
(float) get_gpu_regions_effective() / get_n_regions(), gpu_regions, n_threads,
acc_get_num_devices(acc_device_nvidia), 0, timer_interval_seconds(t0, t1));
acc_get_num_devices(acc_device_nvidia), 1, timer_interval_seconds(t0, t1));
#else
fprintf(stdout, "%s,%d,%f,%d,%d,%d,%d,%f\n", sim->name, get_n_regions(),
(float) get_gpu_regions_effective() / get_n_regions(), gpu_regions, n_threads,
acc_get_num_devices(acc_device_nvidia), 1, timer_interval_seconds(t0, t1));
acc_get_num_devices(acc_device_nvidia), 0, timer_interval_seconds(t0, t1));
#endif
#endif
}
Expand Down

0 comments on commit a929c5e

Please sign in to comment.