public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/auto-numerical-bench:accuracy commit in: numbench/modules/internal/, accuracy/libraries/LAPACK/
@ 2012-09-17  8:10 Andrea Arteaga
  0 siblings, 0 replies; only message in thread
From: Andrea Arteaga @ 2012-09-17  8:10 UTC (permalink / raw
  To: gentoo-commits

commit:     26b8c4b11a1008b310c4fd43cf5ae7bef7e47c6f
Author:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
AuthorDate: Mon Sep  3 21:36:36 2012 +0000
Commit:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Mon Sep  3 21:36:36 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/auto-numerical-bench.git;a=commit;h=26b8c4b1

Improved accuracy interpreter and solved filename bug.

---
 accuracy/libraries/LAPACK/main.cpp        |    2 +-
 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'}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-17  8:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-17  8:10 [gentoo-commits] proj/auto-numerical-bench:accuracy commit in: numbench/modules/internal/, accuracy/libraries/LAPACK/ Andrea Arteaga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox