From f74c9a564074174b6cb43d3f261be82ace6538d5 Mon Sep 17 00:00:00 2001 From: CNugteren Date: Mon, 12 Oct 2015 08:35:58 +0200 Subject: Routine names are now all default arguments defined in the header --- src/routines/level1/xaxpy.cc | 4 ++-- src/routines/level1/xcopy.cc | 4 ++-- src/routines/level1/xscal.cc | 4 ++-- src/routines/level1/xswap.cc | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/routines/level1') 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::precision_ = Precision::kComplexDoub // Constructor: forwards to base class constructor template -Xaxpy::Xaxpy(Queue &queue, Event &event): - Routine(queue, event, "AXPY", {"Xaxpy"}, precision_) { +Xaxpy::Xaxpy(Queue &queue, Event &event, const std::string &name): + Routine(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::precision_ = Precision::kComplexDoub // Constructor: forwards to base class constructor template -Xcopy::Xcopy(Queue &queue, Event &event): - Routine(queue, event, "COPY", {"Xaxpy"}, precision_) { +Xcopy::Xcopy(Queue &queue, Event &event, const std::string &name): + Routine(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::precision_ = Precision::kComplexDoub // Constructor: forwards to base class constructor template -Xscal::Xscal(Queue &queue, Event &event): - Routine(queue, event, "SCAL", {"Xaxpy"}, precision_) { +Xscal::Xscal(Queue &queue, Event &event, const std::string &name): + Routine(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::precision_ = Precision::kComplexDoub // Constructor: forwards to base class constructor template -Xswap::Xswap(Queue &queue, Event &event): - Routine(queue, event, "SWAP", {"Xaxpy"}, precision_) { +Xswap::Xswap(Queue &queue, Event &event, const std::string &name): + Routine(queue, event, name, {"Xaxpy"}, precision_) { source_string_ = #include "../../kernels/level1/level1.opencl" #include "../../kernels/level1/xswap.opencl" -- cgit v1.2.3