Gromacs
2020.4
|
#include "gmxpre.h"
#include "identifyavx512fmaunits.h"
#include "config.h"
#include <cstdint>
#include <cstdio>
#include <algorithm>
#include <mutex>
#include "gromacs/hardware/cpuinfo.h"
Implements a routine to check the number of AVX512 fma units.
Just as the CpuInfo code, we need to be able to compile this file in stand-alone mode to set the SIMD acceleration and similar things during CMake configuration.
Functions | |
int | gmx::identifyAvx512FmaUnits () |
Test whether machine has dual AVX512 FMA units. More... | |
Variables | |
std::mutex | gmx::anonymous_namespace{identifyavx512fmaunits.cpp}::initMutex |
Mutex to guard the execution of the timing test. More... | |