summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Arteaga <andyspiros@gmail.com>2012-09-03 23:36:36 +0200
committerAndrea Arteaga <andyspiros@gmail.com>2012-09-03 23:36:36 +0200
commit26b8c4b11a1008b310c4fd43cf5ae7bef7e47c6f (patch)
tree57361e8ebea937f3994dc182b1a1b8e86662b5cd
parentAccuracy module: output interpreter and result storage. (diff)
downloadauto-numerical-bench-26b8c4b11a1008b310c4fd43cf5ae7bef7e47c6f.tar.gz
auto-numerical-bench-26b8c4b11a1008b310c4fd43cf5ae7bef7e47c6f.tar.bz2
auto-numerical-bench-26b8c4b11a1008b310c4fd43cf5ae7bef7e47c6f.zip
Improved accuracy interpreter and solved filename bug.
-rw-r--r--accuracy/libraries/LAPACK/main.cpp2
-rw-r--r--numbench/modules/internal/accuracyBase.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/accuracy/libraries/LAPACK/main.cpp b/accuracy/libraries/LAPACK/main.cpp
index 4dafab4..ae55cd9 100644
--- a/accuracy/libraries/LAPACK/main.cpp
+++ b/accuracy/libraries/LAPACK/main.cpp
@@ -19,5 +19,5 @@ int main(int argc, char **argv)
}
if (do_gesv)
- testAccuracy<ActionGESV, double>(4, 3000, 20);
+ testAccuracy<ActionGESV, double>(4, 2000, 20);
}
diff --git a/numbench/modules/internal/accuracyBase.py b/numbench/modules/internal/accuracyBase.py
index c25e023..c251513 100644
--- a/numbench/modules/internal/accuracyBase.py
+++ b/numbench/modules/internal/accuracyBase.py
@@ -108,6 +108,7 @@ def runExe(test, implementation, exe, args):
if errp == 0:
os.unlink(errfname)
+ print "RESULT IN ACCURACY:", result
# Close, return
logfs.close()
return proc.returncode, result
@@ -164,7 +165,7 @@ def interpretOutput(stdout, logfs, testdir):
def runTest(self, test, implementation):
exe = compileExe(test, self.libname, implementation)[1]
- runExe(test, implementation, exe, self.tests)
+ return runExe(test, implementation, exe, self.tests)[1]
def reportConf(*args):
return {'type':'plot', 'xlabel':'size', 'ylabel':'Error'}