Gromacs
2026.0-dev-20250623-2b0916a
|
#include "config.h"
#include "gromacs/mdtypes/interaction_const.h"
#include "gromacs/nbnxm/nbnxm.h"
#include "gputraits.h"
NBNXM GPU kernel utility methods.
Macros | |
#define | GMX_ALWAYS_INLINE GMX_DEVICE_ATTRIBUTE __attribute__((always_inline)) |
Functions | |
static | __attribute__ ((always_inline)) T lerp(T d0 |
Linear interpolation using exactly two FMA operations. More... | |
Variables | |
static const float | two |
return | value = 0.0F ? value : 0.0F |
static const T | valueTwo |
static const T const T | valueThree |
static T | d1 |
static T T | t |
static int | offset |
|
inlinestatic |
Linear interpolation using exactly two FMA operations.
Implements numeric equivalent of: (1-t)*d0 + t*d1.
int offset |
T T t |
const float two |
const T const T valueThree |