Gromacs
2022.2
|
#include "gmxpre.h"
#include "support.h"
#include "config.h"
#include <cstdio>
#include <cstdlib>
#include <map>
#include <string>
#include "gromacs/hardware/cpuinfo.h"
#include "gromacs/hardware/identifyavx512fmaunits.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/stringutil.h"
Implements SIMD architecture support query routines.
Functions | |
const std::string & | gmx::simdString (SimdType s) |
Return a string with the name of a SIMD type. More... | |
SimdType | gmx::simdSuggested (const CpuInfo &c) |
Return the SIMD type that would fit this hardware best. | |
SimdType | gmx::simdCompiled () |
Return the SIMD type the library was compiled with. | |
bool | gmx::simdCheck (SimdType s, FILE *log, bool warnToStdErr) |
Check if binary was compiled with the provided SIMD type. More... | |