Gromacs  2022.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gpuforcereduction_impl_internal.h File Reference
#include "gromacs/gpu_utils/devicebuffer_datatype.h"
#include "gromacs/gpu_utils/gputraits.h"
+ Include dependency graph for gpuforcereduction_impl_internal.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declares vendor-specific function to launch force reduction kernel.

Author
Andrey Alekseenko al42a.nosp@m.nd@g.nosp@m.mail..nosp@m.com

Functions

void gmx::launchForceReductionKernel (int numAtoms, int atomStart, bool addRvecForce, bool accumulate, DeviceBuffer< Float3 > d_nbnxmForceToAdd, DeviceBuffer< Float3 > d_rvecForceToAdd, DeviceBuffer< Float3 > d_baseForce, DeviceBuffer< int > d_cell, const DeviceStream &deviceStream)
 Backend-specific function to launch GPU Force Reduction kernel. More...