Gromacs  2022.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
baseversion.h File Reference
+ This graph shows which files directly or indirectly include this file:

Description

Declares functions to get basic version information.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Functions

const char * gmx_version ()
 Version string, containing the version, date, and abbreviated hash. More...
 
const char * gmx_version_git_full_hash ()
 Full git hash of the latest commit. More...
 
const char * gmx_version_git_central_base_hash ()
 Full git hash of the latest commit in a central GROMACS repository. More...
 
void gmx_is_double_precision ()
 Defined if libgromacs has been compiled in double precision. More...
 
void gmx_is_single_precision ()
 Defined if libgromacs has been compiled in single/mixed precision. More...
 
const char * getGpuImplementationString ()
 Return a string describing what kind of GPU suport was configured in the build. More...
 
const char * gmxDOI ()
 DOI string, or empty when not a release build.
 

Function Documentation

const char* getGpuImplementationString ( )

Return a string describing what kind of GPU suport was configured in the build.

Currently returns correctly for CUDA, OpenCL and SYCL. Needs to be updated when adding new acceleration options.