summaryrefslogtreecommitdiff
path: root/src/routines/level3/xsyr2k.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level3/xsyr2k.hpp')
-rw-r--r--src/routines/level3/xsyr2k.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/routines/level3/xsyr2k.hpp b/src/routines/level3/xsyr2k.hpp
index a02c6e16..e96bc1ec 100644
--- a/src/routines/level3/xsyr2k.hpp
+++ b/src/routines/level3/xsyr2k.hpp
@@ -17,14 +17,19 @@
#define CLBLAST_ROUTINES_XSYR2K_H_
#include "routine.hpp"
+#include "routines/level3/xsyrk.hpp"
namespace clblast {
// =================================================================================================
// See comment at top of file for a description of the class
template <typename T>
-class Xsyr2k: public Routine {
- public:
+class Xsyr2k: public Xsyrk<T> {
+public:
+
+ // Uses methods and variables the regular Xsyrk routine
+ using Xsyrk<T>::event_;
+ using Xsyrk<T>::SyrkAB;
// Constructor
Xsyr2k(Queue &queue, EventPointer event, const std::string &name = "SYR2K");