X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fewald%2Ftests%2Fpmetestcommon.cpp;h=0016cd80241e43f304af1595ddd7fab1b694d799;hb=c088e63019ebc68760d35c3bc916015864aa8e89;hp=a3c4409fca0ac70314de02aa2217d452999f8d2b;hpb=f59f6ec6e04f4a3732876c2c76250b8444fdcb69;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/ewald/tests/pmetestcommon.cpp b/src/gromacs/ewald/tests/pmetestcommon.cpp index a3c4409fca..0016cd8024 100644 --- a/src/gromacs/ewald/tests/pmetestcommon.cpp +++ b/src/gromacs/ewald/tests/pmetestcommon.cpp @@ -70,6 +70,7 @@ #include "gromacs/utility/gmxassert.h" #include "gromacs/utility/logger.h" #include "gromacs/utility/stringutil.h" +#include "gromacs/ewald/pme_coordinate_receiver_gpu.h" #include "testutils/test_hardware_environment.h" #include "testutils/testasserts.h" @@ -342,7 +343,18 @@ void pmePerformSplineAndSpread(gmx_pme_t* pme, const real lambdaQ = 1.0; // no synchronization needed as x is transferred in the PME stream GpuEventSynchronizer* xReadyOnDevice = nullptr; - pme_gpu_spread(pme->gpu, xReadyOnDevice, fftgrid, computeSplines, spreadCharges, lambdaQ); + + bool useGpuDirectComm = false; + gmx::PmeCoordinateReceiverGpu* pmeCoordinateReceiverGpu = nullptr; + + pme_gpu_spread(pme->gpu, + xReadyOnDevice, + fftgrid, + computeSplines, + spreadCharges, + lambdaQ, + useGpuDirectComm, + pmeCoordinateReceiverGpu); } break; #endif