Floating point benchmarking test. More...
#include <cstdio>
#include <cmath>
#include <ecl/config.hpp>
#include <ecl/command_line.hpp>
#include <ecl/threads/priority.hpp>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
Floating point benchmarking test.
Uses Alburto's code (1992) to calculate the flops using various test cases for floating point add/sub/mul/div operations. It also takes into account the vectorizability of your code.
This is currently configured to work with POSIX systems. A windows equivalent can be configured by changing the macro options early in the file.
Definition in file flops.cpp.