summaryrefslogtreecommitdiff
path: root/test/routines/level3
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-04-02 15:21:19 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-04-02 15:21:19 +0200
commita9c25e9fd26d3b40a89a34e9d6f2da2f547adcd0 (patch)
treedfc462968b592d85ea621d84c10ceefbf90248ad /test/routines/level3
parentea0aeadc34cdc3e352aea537d5265dd447afa1f6 (diff)
Factored out inclusion of clBLAS and CBLAS from the test-routine files
Diffstat (limited to 'test/routines/level3')
-rw-r--r--test/routines/level3/xgemm.hpp10
-rw-r--r--test/routines/level3/xhemm.hpp10
-rw-r--r--test/routines/level3/xher2k.hpp10
-rw-r--r--test/routines/level3/xherk.hpp10
-rw-r--r--test/routines/level3/xsymm.hpp10
-rw-r--r--test/routines/level3/xsyr2k.hpp10
-rw-r--r--test/routines/level3/xsyrk.hpp10
-rw-r--r--test/routines/level3/xtrmm.hpp10
8 files changed, 8 insertions, 72 deletions
diff --git a/test/routines/level3/xgemm.hpp b/test/routines/level3/xgemm.hpp
index a33cbfec..d6ad98f9 100644
--- a/test/routines/level3/xgemm.hpp
+++ b/test/routines/level3/xgemm.hpp
@@ -16,15 +16,7 @@
#ifndef CLBLAST_TEST_ROUTINES_XGEMM_H_
#define CLBLAST_TEST_ROUTINES_XGEMM_H_
-#include <vector>
-#include <string>
-
-#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 {
// =================================================================================================
diff --git a/test/routines/level3/xhemm.hpp b/test/routines/level3/xhemm.hpp
index 74029c7e..beadf62d 100644
--- a/test/routines/level3/xhemm.hpp
+++ b/test/routines/level3/xhemm.hpp
@@ -16,15 +16,7 @@
#ifndef CLBLAST_TEST_ROUTINES_XHEMM_H_
#define CLBLAST_TEST_ROUTINES_XHEMM_H_
-#include <vector>
-#include <string>
-
-#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 {
// =================================================================================================
diff --git a/test/routines/level3/xher2k.hpp b/test/routines/level3/xher2k.hpp
index ea13bbc1..b5d22579 100644
--- a/test/routines/level3/xher2k.hpp
+++ b/test/routines/level3/xher2k.hpp
@@ -16,15 +16,7 @@
#ifndef CLBLAST_TEST_ROUTINES_XHER2K_H_
#define CLBLAST_TEST_ROUTINES_XHER2K_H_
-#include <vector>
-#include <string>
-
-#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 {
// =================================================================================================
diff --git a/test/routines/level3/xherk.hpp b/test/routines/level3/xherk.hpp
index b1ce83e0..558f4e76 100644
--- a/test/routines/level3/xherk.hpp
+++ b/test/routines/level3/xherk.hpp
@@ -16,15 +16,7 @@
#ifndef CLBLAST_TEST_ROUTINES_XHERK_H_
#define CLBLAST_TEST_ROUTINES_XHERK_H_
-#include <vector>
-#include <string>
-
-#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 {
// =================================================================================================
diff --git a/test/routines/level3/xsymm.hpp b/test/routines/level3/xsymm.hpp
index 6ab644b8..704a8f9e 100644
--- a/test/routines/level3/xsymm.hpp
+++ b/test/routines/level3/xsymm.hpp
@@ -16,15 +16,7 @@
#ifndef CLBLAST_TEST_ROUTINES_XSYMM_H_
#define CLBLAST_TEST_ROUTINES_XSYMM_H_
-#include <vector>
-#include <string>
-
-#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 {
// =================================================================================================
diff --git a/test/routines/level3/xsyr2k.hpp b/test/routines/level3/xsyr2k.hpp
index 1400c4e2..c321b9cf 100644
--- a/test/routines/level3/xsyr2k.hpp
+++ b/test/routines/level3/xsyr2k.hpp
@@ -16,15 +16,7 @@
#ifndef CLBLAST_TEST_ROUTINES_XSYR2K_H_
#define CLBLAST_TEST_ROUTINES_XSYR2K_H_
-#include <vector>
-#include <string>
-
-#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 {
// =================================================================================================
diff --git a/test/routines/level3/xsyrk.hpp b/test/routines/level3/xsyrk.hpp
index 2df8d6b0..00a3013d 100644
--- a/test/routines/level3/xsyrk.hpp
+++ b/test/routines/level3/xsyrk.hpp
@@ -16,15 +16,7 @@
#ifndef CLBLAST_TEST_ROUTINES_XSYRK_H_
#define CLBLAST_TEST_ROUTINES_XSYRK_H_
-#include <vector>
-#include <string>
-
-#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 {
// =================================================================================================
diff --git a/test/routines/level3/xtrmm.hpp b/test/routines/level3/xtrmm.hpp
index 84adc6e0..660001df 100644
--- a/test/routines/level3/xtrmm.hpp
+++ b/test/routines/level3/xtrmm.hpp
@@ -16,15 +16,7 @@
#ifndef CLBLAST_TEST_ROUTINES_XTRMM_H_
#define CLBLAST_TEST_ROUTINES_XTRMM_H_
-#include <vector>
-#include <string>
-
-#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 {
// =================================================================================================