From 4e499a67c1eb9f7cc4a79e75046aa0315b5df87d Mon Sep 17 00:00:00 2001 From: CNugteren Date: Sun, 19 Jul 2015 13:44:37 +0200 Subject: The kernel source string is now a routine's member variable --- src/routines/level1/xaxpy.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/routines/level1') 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::precision_ = Precision::kComplexDoub // Constructor: forwards to base class constructor template Xaxpy::Xaxpy(CommandQueue &queue, Event &event): - Routine(queue, event, {"Xaxpy"}, precision_) { + Routine(queue, event, "Xaxpy", {"Xaxpy"}, precision_) { + source_string_ = + #include "../../kernels/xaxpy.opencl" + ; } // ================================================================================================= -- cgit v1.2.3