summaryrefslogtreecommitdiff
path: root/test/correctness/routines/level1
diff options
context:
space:
mode:
authorCNugteren <web@cedricnugteren.nl>2015-09-18 10:19:03 +0200
committerCNugteren <web@cedricnugteren.nl>2015-09-18 10:19:03 +0200
commit4796c9bcbd84a9e8be1e2864ba47e0d6bf3e6632 (patch)
treed74289f024341071ec11324a9827e2e33428f895 /test/correctness/routines/level1
parent6105ad6f5b40b319477be7b51b8631e510d58672 (diff)
Added generated main functions for correctness/performance tests for level 2 routines
Diffstat (limited to 'test/correctness/routines/level1')
-rw-r--r--test/correctness/routines/level1/xaxpy.cc4
-rw-r--r--test/correctness/routines/level1/xcopy.cc4
-rw-r--r--test/correctness/routines/level1/xdot.cc4
-rw-r--r--test/correctness/routines/level1/xdotc.cc6
-rw-r--r--test/correctness/routines/level1/xdotu.cc6
-rw-r--r--test/correctness/routines/level1/xscal.cc4
-rw-r--r--test/correctness/routines/level1/xswap.cc4
7 files changed, 2 insertions, 30 deletions
diff --git a/test/correctness/routines/level1/xaxpy.cc b/test/correctness/routines/level1/xaxpy.cc
index 1bb10f7b..746e0001 100644
--- a/test/correctness/routines/level1/xaxpy.cc
+++ b/test/correctness/routines/level1/xaxpy.cc
@@ -7,15 +7,11 @@
// Author(s):
// Cedric Nugteren <www.cedricnugteren.nl>
//
-// This file implements the tests for the Xaxpy routine.
-//
// =================================================================================================
#include "correctness/testblas.h"
#include "routines/level1/xaxpy.h"
-// =================================================================================================
-
// Shortcuts to the clblast namespace
using float2 = clblast::float2;
using double2 = clblast::double2;
diff --git a/test/correctness/routines/level1/xcopy.cc b/test/correctness/routines/level1/xcopy.cc
index 8a06a722..3e16ffc6 100644
--- a/test/correctness/routines/level1/xcopy.cc
+++ b/test/correctness/routines/level1/xcopy.cc
@@ -7,15 +7,11 @@
// Author(s):
// Cedric Nugteren <www.cedricnugteren.nl>
//
-// This file implements the tests for the Xcopy routine.
-//
// =================================================================================================
#include "correctness/testblas.h"
#include "routines/level1/xcopy.h"
-// =================================================================================================
-
// Shortcuts to the clblast namespace
using float2 = clblast::float2;
using double2 = clblast::double2;
diff --git a/test/correctness/routines/level1/xdot.cc b/test/correctness/routines/level1/xdot.cc
index e1b70cb2..5ea105e0 100644
--- a/test/correctness/routines/level1/xdot.cc
+++ b/test/correctness/routines/level1/xdot.cc
@@ -7,15 +7,11 @@
// Author(s):
// Cedric Nugteren <www.cedricnugteren.nl>
//
-// This file implements the tests for the Xdot routine.
-//
// =================================================================================================
#include "correctness/testblas.h"
#include "routines/level1/xdot.h"
-// =================================================================================================
-
// Shortcuts to the clblast namespace
using float2 = clblast::float2;
using double2 = clblast::double2;
diff --git a/test/correctness/routines/level1/xdotc.cc b/test/correctness/routines/level1/xdotc.cc
index 15a2f88b..76aaa0ec 100644
--- a/test/correctness/routines/level1/xdotc.cc
+++ b/test/correctness/routines/level1/xdotc.cc
@@ -7,22 +7,18 @@
// Author(s):
// Cedric Nugteren <www.cedricnugteren.nl>
//
-// This file implements the tests for the Xdotc routine.
-//
// =================================================================================================
#include "correctness/testblas.h"
#include "routines/level1/xdotc.h"
-// =================================================================================================
-
// Shortcuts to the clblast namespace
using float2 = clblast::float2;
using double2 = clblast::double2;
// Main function (not within the clblast namespace)
int main(int argc, char *argv[]) {
- clblast::RunTests<clblast::TestXdotc<float2>, float2, float2>(argc, argv, true, "CDOTC");
+ clblast::RunTests<clblast::TestXdotc<float2>, float2, float2>(argc, argv, false, "CDOTC");
clblast::RunTests<clblast::TestXdotc<double2>, double2, double2>(argc, argv, true, "ZDOTC");
return 0;
}
diff --git a/test/correctness/routines/level1/xdotu.cc b/test/correctness/routines/level1/xdotu.cc
index c8af0388..aecde4f5 100644
--- a/test/correctness/routines/level1/xdotu.cc
+++ b/test/correctness/routines/level1/xdotu.cc
@@ -7,22 +7,18 @@
// Author(s):
// Cedric Nugteren <www.cedricnugteren.nl>
//
-// This file implements the tests for the Xdotu routine.
-//
// =================================================================================================
#include "correctness/testblas.h"
#include "routines/level1/xdotu.h"
-// =================================================================================================
-
// Shortcuts to the clblast namespace
using float2 = clblast::float2;
using double2 = clblast::double2;
// Main function (not within the clblast namespace)
int main(int argc, char *argv[]) {
- clblast::RunTests<clblast::TestXdotu<float2>, float2, float2>(argc, argv, true, "CDOTU");
+ clblast::RunTests<clblast::TestXdotu<float2>, float2, float2>(argc, argv, false, "CDOTU");
clblast::RunTests<clblast::TestXdotu<double2>, double2, double2>(argc, argv, true, "ZDOTU");
return 0;
}
diff --git a/test/correctness/routines/level1/xscal.cc b/test/correctness/routines/level1/xscal.cc
index ceb1b7cd..4d138fad 100644
--- a/test/correctness/routines/level1/xscal.cc
+++ b/test/correctness/routines/level1/xscal.cc
@@ -7,15 +7,11 @@
// Author(s):
// Cedric Nugteren <www.cedricnugteren.nl>
//
-// This file implements the tests for the Xscal routine.
-//
// =================================================================================================
#include "correctness/testblas.h"
#include "routines/level1/xscal.h"
-// =================================================================================================
-
// Shortcuts to the clblast namespace
using float2 = clblast::float2;
using double2 = clblast::double2;
diff --git a/test/correctness/routines/level1/xswap.cc b/test/correctness/routines/level1/xswap.cc
index 140ccf24..38f110f7 100644
--- a/test/correctness/routines/level1/xswap.cc
+++ b/test/correctness/routines/level1/xswap.cc
@@ -7,15 +7,11 @@
// Author(s):
// Cedric Nugteren <www.cedricnugteren.nl>
//
-// This file implements the tests for the Xswap routine.
-//
// =================================================================================================
#include "correctness/testblas.h"
#include "routines/level1/xswap.h"
-// =================================================================================================
-
// Shortcuts to the clblast namespace
using float2 = clblast::float2;
using double2 = clblast::double2;