summaryrefslogtreecommitdiff
path: root/src/routines/level1/xaxpy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level1/xaxpy.cc')
-rw-r--r--src/routines/level1/xaxpy.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/routines/level1/xaxpy.cc b/src/routines/level1/xaxpy.cc
index fba36851..ed680856 100644
--- a/src/routines/level1/xaxpy.cc
+++ b/src/routines/level1/xaxpy.cc
@@ -30,7 +30,10 @@ template <> const Precision Xaxpy<double2>::precision_ = Precision::kComplexDoub
// Constructor: forwards to base class constructor
template <typename T>
Xaxpy<T>::Xaxpy(CommandQueue &queue, Event &event):
- Routine(queue, event, {"Xaxpy"}, precision_) {
+ Routine(queue, event, "Xaxpy", {"Xaxpy"}, precision_) {
+ source_string_ =
+ #include "../../kernels/xaxpy.opencl"
+ ;
}
// =================================================================================================