From f97ed9e513f1c7d6102e54c0a42130c048818323 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Sat, 30 May 2020 20:59:39 +0300 Subject: [PATCH] For reason X git decided to remove integration from the most critical part of the program when merging. Luckily we have autotests. --- src/core/device.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/core/device.cc b/src/core/device.cc index 2b1e482..f473fc2 100644 --- a/src/core/device.cc +++ b/src/core/device.cc @@ -1365,6 +1365,14 @@ acGridIntegrate(const Stream stream, const AcReal dt) acPackCommData(device, sidexz_b0s, &sidexz_data); acPackCommData(device, sideyz_b0s, &sideyz_data); + //////////// INNER INTEGRATION ////////////// + { + const int3 m1 = (int3){2 * NGHOST, 2 * NGHOST, 2 * NGHOST}; + const int3 m2 = nn; + acDeviceIntegrateSubstep(device, STREAM_16, isubstep, m1, m2, dt); + } + //////////////////////////////////////////// + MPI_Barrier(MPI_COMM_WORLD); #if MPI_GPUDIRECT_DISABLED