Gromacs
2019-beta2
|
#include "config.h"
#include <memory>
#include <vector>
#include "gromacs/domdec/localatomset.h"
#include "gromacs/mdtypes/pull-params.h"
#include "gromacs/utility/gmxmpi.h"
This file contains datatypes and function declarations for internal use in the pull code.
Classes | |
struct | pull_group_work_t |
Pull group data used during pulling. More... | |
Enumerations | |
enum | { epgrppbcNONE, epgrppbcREFAT, epgrppbcCOS, epgrppbcPREVSTEPCOM } |
Variables | |
static const int | c_pullMaxNumLocalAtomsSingleThreaded = 1 |
Determines up to what local atom count a pull group gets processed single-threaded. More... | |
static constexpr int | c_cylinderBufferStride = 9 |
The cylinder buffer needs 9 elements per group. | |
|
static |
Determines up to what local atom count a pull group gets processed single-threaded.
We set this limit to 1 with debug to catch bugs. On Haswell with GCC 5 the cross-over point is around 400 atoms, independent of thread count and hyper-threading.