![]() |
(git:ed6f26b)
|
#include "machine_cpuid.h"
Go to the source code of this file.
Functions | |
int | m_cpuid_static (void) |
This routine determines the CPUID according to the given compiler flags (expected to be similar to Fortran). Similar to other Fortran compilers, "gfortran -E -dM -mavx - < /dev/null | grep AVX" defines a variety of predefined macros (also similar to C). However, with a Fortran translation unit only a subset of these definitions disappears ("gfortran -E -dM -mavx my.F | grep AVX") hence an implementation in C is used. | |
int m_cpuid_static | ( | void | ) |
This routine determines the CPUID according to the given compiler flags (expected to be similar to Fortran). Similar to other Fortran compilers, "gfortran -E -dM -mavx - < /dev/null | grep AVX" defines a variety of predefined macros (also similar to C). However, with a Fortran translation unit only a subset of these definitions disappears ("gfortran -E -dM -mavx my.F | grep AVX") hence an implementation in C is used.
Definition at line 25 of file machine_cpuid.c.