Gromacs
2025.1
|
#include "gmxpre.h"
#include <cassert>
#include <cstdlib>
#include <string>
#include "gromacs/gpu_utils/gpu_utils.h"
#include "gromacs/gpu_utils/ocl_compiler.h"
#include "gromacs/mdtypes/interaction_const.h"
#include "gromacs/mdtypes/md_enums.h"
#include "gromacs/nbnxm/gpu_jit_support.h"
#include "gromacs/nbnxm/nbnxm_gpu.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/stringutil.h"
#include "nbnxm_ocl_types.h"
Defines functions that support JIT compilation (e.g. for OpenCL)
Functions | |
static std::string | gmx::makeDefinesForKernelTypes (bool bFastGen, enum ElecType elecType, enum VdwType vdwType) |
Returns a string with the compiler defines required to avoid all flavour generation. More... | |
void | gmx::nbnxn_gpu_compile_kernels (NbnxmGpu *nb) |
Compiles nbnxn kernels for OpenCL GPU given by mygpu . More... | |
Variables | |
static const char * | gmx::kernel_electrostatic_family_definitions [] |
Array of the defines needed to generate a specific eel flavour. More... | |
static const char * | gmx::kernel_VdW_family_definitions [] |
Array of the defines needed to generate a specific vdw flavour. More... | |