Gromacs
2025-dev-20241007-5b8bb96
|
#include "gmxpre.h"
#include "config.h"
#include <algorithm>
#include <array>
#include <memory>
#include <string>
#include <vector>
#include "gromacs/listed_forces/listed_forces_gpu.h"
#include "gromacs/math/vectypes.h"
#include "gromacs/mdtypes/inputrec.h"
#include "gromacs/mdtypes/md_enums.h"
#include "gromacs/topology/idef.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/message_string_collector.h"
Implements GPU bonded lists for non-GPU builds.
Classes | |
class | gmx::ListedForcesGpu::Impl |
Implements GPU bondeds. More... | |
Functions | |
static bool | gmx::someInteractionsCanRunOnGpu (const InteractionLists &ilists) |
Returns whether there are any interactions in ilists suitable for a GPU. | |
static bool | gmx::bondedInteractionsCanRunOnGpu (const gmx_mtop_t &mtop) |
Returns whether there are any bonded interactions in the global topology suitable for a GPU. | |
bool | gmx::buildSupportsListedForcesGpu (std::string *error) |
Checks whether the GROMACS build allows to compute bonded interactions on a GPU. More... | |
bool | gmx::inputSupportsListedForcesGpu (const t_inputrec &ir, const gmx_mtop_t &mtop, std::string *error) |
Checks whether the input system allows to compute bonded interactions on a GPU. More... | |