You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tgpu = parent_t::tasync_wait_in_record_all + parent_t::tsync_wait + parent_t::tasync_wait + tsync_in, // time of pure GPU calculations (= wait time of CPU)
95
+
tcpugpu = tsync_in + parent_t::tasync_gpu + parent_t::tsync_gpu - tgpu, // time of concurrent CPU and GPU calculations (= total time of GPU calculations - tgpu)
96
+
tcpu = tloop - tgpu - tcpugpu;
97
+
89
98
std::cout << "wall time in milliseconds: " << std::endl
Copy file name to clipboardExpand all lines: src/solvers/slvr_common.hpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,12 @@ class slvr_common : public slvr_dim<ct_params_t>
25
25
protected:
26
26
27
27
#if defined(UWLCM_TIMING)
28
-
29
28
using clock = std::chrono::system_clock;
30
29
using timer = std::chrono::milliseconds;
31
-
timer tsync, tsync_wait, tasync, tasync_wait, tasync_wait_in_record_all; // timings used in lgrngn solver TODO: move them to slvr_lgrngn
32
-
33
-
protected:
30
+
timer tsync, tsync_gpu, tsync_wait, tasync, tasync_gpu, tasync_wait, tasync_wait_in_record_all; // timings used in lgrngn solver TODO: move them to slvr_lgrngn
0 commit comments