add Cholesky and eigensolver benchmark

This commit is contained in:
Gael Guennebaud
2008-07-08 17:20:17 +00:00
parent 6f09d3a67d
commit 77a622f2bb
8 changed files with 384 additions and 104 deletions

View File

@@ -4,19 +4,7 @@
int main(int argc, char *argv[])
{
// disable floating point exceptions
// this leads to more stable bench results
// (this is done by default by ICC)
#ifndef __INTEL_COMPILER
{
int aux;
asm(
"stmxcsr %[aux] \n\t"
"orl $32832, %[aux] \n\t"
"ldmxcsr %[aux] \n\t"
: : [aux] "m" (aux));
}
#endif
DISABLE_SSE_EXCEPTIONS();
// this is the list of matrix type and size we want to bench:
// ((suffix) (matrix size) (number of iterations))