diff options
author | 2012-09-03 23:36:36 +0200 | |
---|---|---|
committer | 2012-09-03 23:36:36 +0200 | |
commit | 26b8c4b11a1008b310c4fd43cf5ae7bef7e47c6f (patch) | |
tree | 57361e8ebea937f3994dc182b1a1b8e86662b5cd | |
parent | Accuracy module: output interpreter and result storage. (diff) | |
download | auto-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.cpp | 2 | ||||
-rw-r--r-- | numbench/modules/internal/accuracyBase.py | 3 |
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'} |