Gromacs
2021-rc1-UNCHECKED
|
#include "gromacs/utility/basedefinitions.h"
Declares functions that support JIT compilation (e.g. for OpenCL)
Functions | |
OPENCL_FUNC_QUALIFIER void | nbnxn_gpu_compile_kernels (NbnxmGpu *nb) OPENCL_FUNC_TERM |
Handles any JIT compilation of nbnxn kernels for the selected device. More... | |
OPENCL_FUNC_QUALIFIER void nbnxn_gpu_compile_kernels | ( | NbnxmGpu * | nb | ) |
Handles any JIT compilation of nbnxn kernels for the selected device.
Handles any JIT compilation of nbnxn kernels for the selected device.
With OpenCL, a call to this function must not precede nbnxn_gpu_init() (which also calls it).
Doing bFastGen means only the requested kernels are compiled, significantly reducing the total compilation time. If false, all OpenCL kernels are compiled.
A fatal error results if compilation fails.
[in,out] | nb | Manages OpenCL non-bonded calculations; compiled kernels returned in deviceInfo members |
Does not throw