Gromacs
2024.4
|
#include <cstdio>
Declares functions for managing threading of listed forces.
Functions | |
void | setup_bonded_threading (bonded_threading_t *bt, int numAtomsForce, bool useGpuForBondeds, const InteractionDefinitions &idef) |
Divide the listed interactions over the threads and GPU. More... | |
void setup_bonded_threading | ( | bonded_threading_t * | bt, |
int | numAtomsForce, | ||
bool | useGpuForBondeds, | ||
const InteractionDefinitions & | idef | ||
) |
Divide the listed interactions over the threads and GPU.
Uses fr->nthreads for the number of threads, and sets up the thread-force buffer reduction. This should be called each time the bonded setup changes; i.e. at start-up without domain decomposition and at DD.