diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-04-12 17:37:27 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-04-12 17:37:27 +0000 |
commit | ab4046970bd4e7772287ef882334b8be26ea86da (patch) | |
tree | 6ddf1ea57dd71b933d3ab0b30500d7143c720abb /bench/benchmark.cpp | |
parent | dcebc46cdcd29fa65449c6d3215f30a28ec0a8c8 (diff) |
* Add fixed-size template versions of corner(), start(), end().
* Use them to write an unrolled path in echelon.cpp, as an
experiment before I do this LU module.
* For floating-point types, make ei_random() use an amplitude
of 1.
Diffstat (limited to 'bench/benchmark.cpp')
-rw-r--r-- | bench/benchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/benchmark.cpp b/bench/benchmark.cpp index 39ed317aa..418bf72f2 100644 --- a/bench/benchmark.cpp +++ b/bench/benchmark.cpp @@ -28,7 +28,7 @@ int main(int argc, char *argv[]) asm("#begin"); for(int a = 0; a < REPEAT; a++) { - m = I + 0.00005 * (m + m*m); + m = Matrix<SCALAR,MATSIZE,MATSIZE>::ones() + 0.00005 * (m + m*m); } asm("#end"); cout << m << endl; |