summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Arteaga <andyspiros@gmail.com>2011-08-05 03:42:29 +0200
committerAndrea Arteaga <andyspiros@gmail.com>2011-08-05 03:42:29 +0200
commit7c9c82b70ca555ad7549150e6fe517d9623c6187 (patch)
tree65f6cd9a8e3635887723f5beb1444e1ed6a4c989
parentAdded lapack_accuracy module. (diff)
downloadauto-numerical-bench-7c9c82b70ca555ad7549150e6fe517d9623c6187.tar.gz
auto-numerical-bench-7c9c82b70ca555ad7549150e6fe517d9623c6187.tar.bz2
auto-numerical-bench-7c9c82b70ca555ad7549150e6fe517d9623c6187.zip
Solved problem with sizes.
-rw-r--r--accuracy/lapack/main_lapack.cpp2
-rwxr-xr-xmain.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/accuracy/lapack/main_lapack.cpp b/accuracy/lapack/main_lapack.cpp
index ca4fa67..896e190 100644
--- a/accuracy/lapack/main_lapack.cpp
+++ b/accuracy/lapack/main_lapack.cpp
@@ -29,7 +29,7 @@ extern "C" {
template<typename exec_t>
void test(exec_t exec, const std::string& testname, const int& max = 3000, const int& N = 100)
{
- static vector<int> sizes = logsizes(1, max, N);
+ vector<int> sizes = logsizes(1, max, N);
Timer timer;
ostringstream fname;
diff --git a/main.py b/main.py
index 360d055..0bd842f 100755
--- a/main.py
+++ b/main.py
@@ -108,6 +108,8 @@ cfg.tests = tests_from_input(input)
# Write summary
print 80*'='
print "The following tests will be run:"
+print "-------------------------------"
+print
for tname, ttest in cfg.tests.items():
print "Test: " + tname
if ttest['descr'] is not None: