Gromacs
2024.4
|
#include "gmxpre.h"
#include "gromacs/hardware/simd_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 | |
static const std::string & | gmx::simdString (SimdType s) |
SimdType | gmx::simdSuggested (const CpuInfo &c) |
Return the SIMD type that would fit this hardware best. | |
static SimdType | gmx::simdCompiled () |
bool | gmx::simdCheck (const CpuInfo &cpuInfo, SimdType wanted, FILE *log, bool warnToStdErr) |
Check if binary was compiled with the provided SIMD type. More... | |