summaryrefslogtreecommitdiff
path: root/src/routines/level2/xher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level2/xher.cc')
-rw-r--r--src/routines/level2/xher.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routines/level2/xher.cc b/src/routines/level2/xher.cc
index 1aefa240..aba665b0 100644
--- a/src/routines/level2/xher.cc
+++ b/src/routines/level2/xher.cc
@@ -28,7 +28,7 @@ template <> const Precision Xher<double2, double>::precision_ = Precision::kComp
// Constructor: forwards to base class constructor
template <typename T, typename U>
-Xher<T,U>::Xher(Queue &queue, Event &event, const std::string &name):
+Xher<T,U>::Xher(Queue &queue, EventPointer event, const std::string &name):
Routine<T>(queue, event, name, {"Xger"}, precision_) {
source_string_ =
#include "../../kernels/level2/level2.opencl"
@@ -99,7 +99,7 @@ StatusCode Xher<T,U>::DoHer(const Layout layout, const Triangle triangle,
auto global_two = Ceil(CeilDiv(n, db_["WPT"]), db_["WGS2"]);
auto global = std::vector<size_t>{global_one, global_two};
auto local = std::vector<size_t>{db_["WGS1"], db_["WGS2"]};
- status = RunKernel(kernel, global, local);
+ status = RunKernel(kernel, global, local, event_);
if (ErrorIn(status)) { return status; }
// Succesfully finished the computation