diff options
Diffstat (limited to 'src/routines/level2/xher2.cc')
-rw-r--r-- | src/routines/level2/xher2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routines/level2/xher2.cc b/src/routines/level2/xher2.cc index 364add12..bcd6488f 100644 --- a/src/routines/level2/xher2.cc +++ b/src/routines/level2/xher2.cc @@ -28,7 +28,7 @@ template <> const Precision Xher2<double2>::precision_ = Precision::kComplexDoub // Constructor: forwards to base class constructor template <typename T> -Xher2<T>::Xher2(Queue &queue, Event &event, const std::string &name): +Xher2<T>::Xher2(Queue &queue, EventPointer event, const std::string &name): Routine<T>(queue, event, name, {"Xger"}, precision_) { source_string_ = #include "../../kernels/level2/level2.opencl" @@ -91,7 +91,7 @@ StatusCode Xher2<T>::DoHer2(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 |