diff --git a/src/maxwell/maxwell_solver.cpp b/src/maxwell/maxwell_solver.cpp index d5e3efb992a9ccc19928655db1c214209da23a1a..600713fefb77618eedc6af048c5bf8d1629df831 100644 --- a/src/maxwell/maxwell_solver.cpp +++ b/src/maxwell/maxwell_solver.cpp @@ -246,8 +246,7 @@ void solver_mainloop(const model& mod, State& state, maxwell::parameter_loader& timestep(mod, state, mpl, ti); do_sources(mod, state, mpl); swap(state, mpl); - - cudaDeviceSynchronize(); + double time = tc.toc(); total_iteration_time += time;