summaryrefslogtreecommitdiff
path: root/src/routines/level1/xswap.cc
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/xswap.cc
parent54a8723f8cd4f34a08d651216d680578ffc47fa5 (diff)
Routine names are now all default arguments defined in the header
Diffstat (limited to 'src/routines/level1/xswap.cc')
-rw-r--r--src/routines/level1/xswap.cc4
1 files changed, 2 insertions, 2 deletions
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"