summaryrefslogtreecommitdiff
path: root/test/routines
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-04-02 15:24:21 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-04-02 15:24:21 +0200
commitc5461d77e58baf4776bed136bf8c682decf8134e (patch)
treec626acaf1304ee03a666e5875afe453d7f6174e5 /test/routines
parenta9c25e9fd26d3b40a89a34e9d6f2da2f547adcd0 (diff)
Factored out inclusion of clBLAS and CBLAS from the test-routine files
Diffstat (limited to 'test/routines')
-rw-r--r--test/routines/level3/xtrsm.hpp11
-rw-r--r--test/routines/levelx/xaxpybatched.hpp12
2 files changed, 2 insertions, 21 deletions
diff --git a/test/routines/level3/xtrsm.hpp b/test/routines/level3/xtrsm.hpp
index de5b307d..9e8b9565 100644
--- a/test/routines/level3/xtrsm.hpp
+++ b/test/routines/level3/xtrsm.hpp
@@ -16,18 +16,9 @@
#ifndef CLBLAST_TEST_ROUTINES_XTRSM_H_
#define CLBLAST_TEST_ROUTINES_XTRSM_H_
-#include <vector>
-#include <string>
-
+#include "test/routines/common.hpp"
#include "test/routines/level3/xtrsm_data.hpp"
-#ifdef CLBLAST_REF_CLBLAS
- #include "test/wrapper_clblas.hpp"
-#endif
-#ifdef CLBLAST_REF_CBLAS
- #include "test/wrapper_cblas.hpp"
-#endif
-
namespace clblast {
// =================================================================================================
diff --git a/test/routines/levelx/xaxpybatched.hpp b/test/routines/levelx/xaxpybatched.hpp
index 05141bbb..d8b3837c 100644
--- a/test/routines/levelx/xaxpybatched.hpp
+++ b/test/routines/levelx/xaxpybatched.hpp
@@ -16,17 +16,7 @@
#ifndef CLBLAST_TEST_ROUTINES_XAXPYBATCHED_H_
#define CLBLAST_TEST_ROUTINES_XAXPYBATCHED_H_
-#include <vector>
-#include <string>
-
-#include "utilities/utilities.hpp"
-
-#ifdef CLBLAST_REF_CLBLAS
- #include "test/wrapper_clblas.hpp"
-#endif
-#ifdef CLBLAST_REF_CBLAS
- #include "test/wrapper_cblas.hpp"
-#endif
+#include "test/routines/common.hpp"
namespace clblast {
// =================================================================================================