Gromacs  2025.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
nbnxm_ocl_jit_support.cpp File Reference
#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"
+ Include dependency graph for nbnxm_ocl_jit_support.cpp:

Description

Defines functions that support JIT compilation (e.g. for OpenCL)

Author
Dimitrios Karkoulis dimit.nosp@m.ris..nosp@m.karko.nosp@m.ulis.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

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...