public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrea Arteaga" <andyspiros@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/auto-numerical-bench:accuracy commit in: numbench/modules/internal/, accuracy/libraries/LAPACK/
Date: Mon, 17 Sep 2012 08:10:10 +0000 (UTC)	[thread overview]
Message-ID: <1346708196.26b8c4b11a1008b310c4fd43cf5ae7bef7e47c6f.spiros@gentoo> (raw)

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'}


                 reply	other threads:[~2012-09-17  8:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346708196.26b8c4b11a1008b310c4fd43cf5ae7bef7e47c6f.spiros@gentoo \
    --to=andyspiros@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox