Gromacs
2020.4
|
#include "gmxpre.h"
#include "gromacs/domdec/domdec.h"
#include "gromacs/domdec/domdec_struct.h"
#include "gromacs/hardware/hw_info.h"
#include "gromacs/mdlib/gmx_omp_nthreads.h"
#include "gromacs/mdtypes/commrec.h"
#include "gromacs/mdtypes/forcerec.h"
#include "gromacs/mdtypes/inputrec.h"
#include "gromacs/nbnxm/gpu_data_mgmt.h"
#include "gromacs/nbnxm/nbnxm.h"
#include "gromacs/nbnxm/pairlist_tuning.h"
#include "gromacs/simd/simd.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/logger.h"
#include "atomdata.h"
#include "gpu_types.h"
#include "grid.h"
#include "nbnxm_geometry.h"
#include "nbnxm_simd.h"
#include "pairlist.h"
#include "pairlistset.h"
#include "pairlistsets.h"
#include "pairsearch.h"
Common functions for the different NBNXN GPU implementations.
Enumerations | |
enum | NonbondedResource : int { Cpu, Gpu, EmulateGpu } |
Resources that can be used to execute non-bonded kernels on. | |
Functions | |
static gmx_bool | Nbnxm::nbnxn_simd_supported (const gmx::MDLogger &mdlog, const t_inputrec *ir) |
Returns whether CPU SIMD support exists for the given inputrec. More... | |
static KernelSetup | Nbnxm::pick_nbnxn_kernel_cpu (const t_inputrec *ir, const gmx_hw_info_t &hardwareInfo) |
Returns the most suitable CPU kernel type and Ewald handling. | |
const char * | Nbnxm::lookup_kernel_name (Nbnxm::KernelType kernelType) |
Return a string identifying the kernel type. More... | |
static KernelSetup | Nbnxm::pick_nbnxn_kernel (const gmx::MDLogger &mdlog, gmx_bool use_simd_kernels, const gmx_hw_info_t &hardwareInfo, const NonbondedResource &nonbondedResource, const t_inputrec *ir, gmx_bool bDoNonbonded) |
Returns the most suitable kernel type and Ewald handling. | |
static int | Nbnxm::getMinimumIlistCountForGpuBalancing (gmx_nbnxn_gpu_t *nbnxmGpu) |
Gets and returns the minimum i-list count for balacing based on the GPU used or env.var. when set. | |
std::unique_ptr < nonbonded_verlet_t > | Nbnxm::init_nb_verlet (const gmx::MDLogger &mdlog, gmx_bool bFEP_NonBonded, const t_inputrec *ir, const t_forcerec *fr, const t_commrec *cr, const gmx_hw_info_t &hardwareInfo, const gmx_device_info_t *deviceInfo, const gmx_mtop_t *mtop, matrix box, gmx_wallcycle *wcycle) |
Creates an Nbnxm object. | |