summaryrefslogtreecommitdiff
path: root/test/correctness/tester.h
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-05-07 12:22:06 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-05-07 12:22:06 +0200
commit6c9e08c5e288767d9afedb118c37694f63739cae (patch)
treebf27e64913de3064b8c37988db1252d389dbe22c /test/correctness/tester.h
parent56aa1701c955546e049ec0dbe5b2777d592b5fc1 (diff)
Added an option to the tests to control whether to test against clBLAS or a CPU BLAS library
Diffstat (limited to 'test/correctness/tester.h')
-rw-r--r--test/correctness/tester.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/correctness/tester.h b/test/correctness/tester.h
index 3534dffb..46d88caf 100644
--- a/test/correctness/tester.h
+++ b/test/correctness/tester.h
@@ -58,6 +58,7 @@ class Tester {
const std::string kErrorStatus{kPrintError + "/" + kPrintEnd};
const std::string kSkippedCompilation{kPrintWarning + "\\" + kPrintEnd};
const std::string kUnsupportedPrecision{kPrintWarning + "o" + kPrintEnd};
+ const std::string kUnsupportedReference{kPrintWarning + "." + kPrintEnd};
// This structure combines the above log-entry with a status code an error percentage
struct ErrorLogEntry {
@@ -102,6 +103,10 @@ class Tester {
// Retrieves the offset values to test with
const std::vector<size_t> GetOffsets() const;
+ // Testing against reference implementations
+ int compare_cblas_;
+ int compare_clblas_;
+
private:
// Internal methods to report a passed, skipped, or failed test