|
1 |
| -#include <chrono> |
2 | 1 | #include <physics/mam/eamxx_mam_constituent_fluxes_functions.hpp>
|
3 | 2 | #include <physics/mam/eamxx_mam_constituent_fluxes_interface.hpp>
|
4 | 3 | namespace scream {
|
@@ -282,30 +281,10 @@ void MAMConstituentFluxes::run_impl(const double dt) {
|
282 | 281 | Kokkos::parallel_for("preprocess", scan_policy, preprocess_);
|
283 | 282 | Kokkos::fence();
|
284 | 283 |
|
285 |
| - for(int icnst = 0; icnst < 6; ++icnst) { |
286 |
| - auto host_view = Kokkos::create_mirror_view(wet_aero_.gas_mmr[icnst]); |
287 |
| - Kokkos::deep_copy(host_view, wet_aero_.gas_mmr[icnst]); |
288 |
| - printf("BEFORE:::%e, %i\n", host_view(0, 71), icnst + 9); |
289 |
| - } |
290 |
| - auto start = std::chrono::steady_clock::now(); |
291 | 284 | update_gas_aerosols_using_constituents(ncol_, nlev_, dt, dry_atm_,
|
292 | 285 | constituent_fluxes_,
|
293 | 286 | // output
|
294 | 287 | wet_aero_);
|
295 |
| - auto stop = std::chrono::steady_clock::now(); |
296 |
| - auto duration = (stop - start); |
297 |
| - |
298 |
| - // To get the value of duration use the count() |
299 |
| - // member function on the duration object |
300 |
| - printf("TIME:%e\n", |
301 |
| - std::chrono::duration<double, std::milli>(duration).count()); |
302 |
| - |
303 |
| - for(int icnst = 0; icnst < 6; ++icnst) { |
304 |
| - auto host_view = Kokkos::create_mirror_view(wet_aero_.gas_mmr[icnst]); |
305 |
| - Kokkos::deep_copy(host_view, wet_aero_.gas_mmr[icnst]); |
306 |
| - printf("BEFORE:::%e, %i\n", host_view(0, 71), icnst + 9); |
307 |
| - } |
308 |
| - |
309 | 288 | } // run_impl ends
|
310 | 289 |
|
311 | 290 | // =============================================================================
|
|
0 commit comments