summaryrefslogtreecommitdiff
path: root/test/correctness/tester.h
diff options
context:
space:
mode:
authorcnugteren <web@cedricnugteren.nl>2016-04-02 11:58:00 -0700
committercnugteren <web@cedricnugteren.nl>2016-04-02 11:58:00 -0700
commit1a82861a902e17f15486664b340c50530cce6542 (patch)
tree501c25dd3bcf86525052eb28c2c7ad4c6cb51647 /test/correctness/tester.h
parent5c83217cf256984573924e8f89c46f393a5fcfcd (diff)
Added support for testing (performance and correctness) against a CPU BLAS library
Diffstat (limited to 'test/correctness/tester.h')
-rw-r--r--test/correctness/tester.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/correctness/tester.h b/test/correctness/tester.h
index db714f3d..d489f829 100644
--- a/test/correctness/tester.h
+++ b/test/correctness/tester.h
@@ -23,7 +23,9 @@
#include <memory>
// The libraries
-#include <clBLAS.h>
+#ifdef CLBLAST_REF_CLBLAS
+ #include <clBLAS.h>
+#endif
#include "clblast.h"
#include "internal/utilities.h"
@@ -92,7 +94,7 @@ class Tester {
Queue queue_;
// Whether or not to run the full test-suite or just a smoke test
- bool full_test_;
+ const bool full_test_;
// Retrieves the offset values to test with
const std::vector<size_t> GetOffsets() const;