|
Gromacs
2026.0-dev-20251119-5f0a571d
|
#include "config.h"#include "gromacs/mdtypes/interaction_const.h"#include "gromacs/nbnxm/nbnxm.h"#include "gputraits.h"
Include dependency graph for gpu_kernel_utils.h:
This graph shows which files directly or indirectly include this file: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 |
1.8.5