Gromacs
2024.3
|
#include "gmxpre.h"
#include "gpu_utils.h"
#include "config.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/enumerationhelpers.h"
#include "gromacs/utility/stringutil.h"
Function definitions for non-GPU builds.
Functions | |
const char * | enumValueToString (GpuApiCallBehavior enumValue) |
String corresponding to GPU API call behavior. | |
bool | decideGpuTimingsUsage () |
Check the platform-defaults and environment variable to decide whether GPU timings should be enabled. More... | |
bool decideGpuTimingsUsage | ( | ) |
Check the platform-defaults and environment variable to decide whether GPU timings should be enabled.
Currently, timings are enabled for OpenCL, but disabled for CUDA and SYCL. This can be overridden by GMX_ENABLE_GPU_TIMING
and GMX_DISABLE_GPU_TIMING
environment variables.