diff options
Diffstat (limited to 'src/routines/levelx/xaxpybatched.hpp')
-rw-r--r-- | src/routines/levelx/xaxpybatched.hpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/routines/levelx/xaxpybatched.hpp b/src/routines/levelx/xaxpybatched.hpp index 7fd14a74..513792ea 100644 --- a/src/routines/levelx/xaxpybatched.hpp +++ b/src/routines/levelx/xaxpybatched.hpp @@ -16,26 +16,23 @@ #include <vector> -#include "routines/level1/xaxpy.hpp" +#include "routine.hpp" namespace clblast { // ================================================================================================= // See comment at top of file for a description of the class template <typename T> -class XaxpyBatched: public Xaxpy<T> { +class XaxpyBatched: public Routine { public: - // Uses the regular Xaxpy routine - using Xaxpy<T>::DoAxpy; - // Constructor XaxpyBatched(Queue &queue, EventPointer event, const std::string &name = "AXPYBATCHED"); // Templated-precision implementation of the routine void DoAxpyBatched(const size_t n, const std::vector<T> &alphas, - const std::vector<Buffer<T>> &x_buffers, const size_t x_inc, - const std::vector<Buffer<T>> &y_buffers, const size_t y_inc, + const Buffer<T> &x_buffer, const std::vector<size_t> &x_offsets, const size_t x_inc, + const Buffer<T> &y_buffer, const std::vector<size_t> &y_offsets, const size_t y_inc, const size_t batch_count); }; |