summaryrefslogtreecommitdiff
path: root/src/routines/level1
diff options
context:
space:
mode:
authorCNugteren <web@cedricnugteren.nl>2015-10-12 08:35:58 +0200
committerCNugteren <web@cedricnugteren.nl>2015-10-12 08:35:58 +0200
commitf74c9a564074174b6cb43d3f261be82ace6538d5 (patch)
tree0eb53439362ec23a98fa60d9b8c270690a51cecc /src/routines/level1
parent54a8723f8cd4f34a08d651216d680578ffc47fa5 (diff)
Routine names are now all default arguments defined in the header
Diffstat (limited to 'src/routines/level1')
-rw-r--r--src/routines/level1/xaxpy.cc4
-rw-r--r--src/routines/level1/xcopy.cc4
-rw-r--r--src/routines/level1/xscal.cc4
-rw-r--r--src/routines/level1/xswap.cc4
4 files changed, 8 insertions, 8 deletions
diff --git a/src/routines/level1/xaxpy.cc b/src/routines/level1/xaxpy.cc
index ce138fa6..f37a0724 100644
--- a/src/routines/level1/xaxpy.cc
+++ b/src/routines/level1/xaxpy.cc
@@ -29,8 +29,8 @@ template <> const Precision Xaxpy<double2>::precision_ = Precision::kComplexDoub
// Constructor: forwards to base class constructor
template <typename T>
-Xaxpy<T>::Xaxpy(Queue &queue, Event &event):
- Routine<T>(queue, event, "AXPY", {"Xaxpy"}, precision_) {
+Xaxpy<T>::Xaxpy(Queue &queue, Event &event, const std::string &name):
+ Routine<T>(queue, event, name, {"Xaxpy"}, precision_) {
source_string_ =
#include "../../kernels/level1/level1.opencl"
#include "../../kernels/level1/xaxpy.opencl"
diff --git a/src/routines/level1/xcopy.cc b/src/routines/level1/xcopy.cc
index 52e029b9..2b00d43f 100644
--- a/src/routines/level1/xcopy.cc
+++ b/src/routines/level1/xcopy.cc
@@ -29,8 +29,8 @@ template <> const Precision Xcopy<double2>::precision_ = Precision::kComplexDoub
// Constructor: forwards to base class constructor
template <typename T>
-Xcopy<T>::Xcopy(Queue &queue, Event &event):
- Routine<T>(queue, event, "COPY", {"Xaxpy"}, precision_) {
+Xcopy<T>::Xcopy(Queue &queue, Event &event, const std::string &name):
+ Routine<T>(queue, event, name, {"Xaxpy"}, precision_) {
source_string_ =
#include "../../kernels/level1/level1.opencl"
#include "../../kernels/level1/xcopy.opencl"
diff --git a/src/routines/level1/xscal.cc b/src/routines/level1/xscal.cc
index 13e1080c..3fc36b3d 100644
--- a/src/routines/level1/xscal.cc
+++ b/src/routines/level1/xscal.cc
@@ -29,8 +29,8 @@ template <> const Precision Xscal<double2>::precision_ = Precision::kComplexDoub
// Constructor: forwards to base class constructor
template <typename T>
-Xscal<T>::Xscal(Queue &queue, Event &event):
- Routine<T>(queue, event, "SCAL", {"Xaxpy"}, precision_) {
+Xscal<T>::Xscal(Queue &queue, Event &event, const std::string &name):
+ Routine<T>(queue, event, name, {"Xaxpy"}, precision_) {
source_string_ =
#include "../../kernels/level1/level1.opencl"
#include "../../kernels/level1/xscal.opencl"
diff --git a/src/routines/level1/xswap.cc b/src/routines/level1/xswap.cc
index b22b3bdb..123977d3 100644
--- a/src/routines/level1/xswap.cc
+++ b/src/routines/level1/xswap.cc
@@ -29,8 +29,8 @@ template <> const Precision Xswap<double2>::precision_ = Precision::kComplexDoub
// Constructor: forwards to base class constructor
template <typename T>
-Xswap<T>::Xswap(Queue &queue, Event &event):
- Routine<T>(queue, event, "SWAP", {"Xaxpy"}, precision_) {
+Xswap<T>::Xswap(Queue &queue, Event &event, const std::string &name):
+ Routine<T>(queue, event, name, {"Xaxpy"}, precision_) {
source_string_ =
#include "../../kernels/level1/level1.opencl"
#include "../../kernels/level1/xswap.opencl"