summaryrefslogtreecommitdiff
path: root/include/internal/routines/level2
diff options
context:
space:
mode:
authorcnugteren <web@cedricnugteren.nl>2016-04-09 22:22:24 -0600
committercnugteren <web@cedricnugteren.nl>2016-04-09 22:22:24 -0600
commit1d3d38a2618c5663bf1549b08805137fd85f2efa (patch)
tree5de200346fc3d87c6e353d84744c59b2c703c16d /include/internal/routines/level2
parentc2cfee76c4d8f7486d5b62b3e0a878867a32a070 (diff)
Events are now properly implemented using event waiting list and asking the user to wait for event completion
Diffstat (limited to 'include/internal/routines/level2')
-rw-r--r--include/internal/routines/level2/xgbmv.h2
-rw-r--r--include/internal/routines/level2/xgemv.h3
-rw-r--r--include/internal/routines/level2/xger.h3
-rw-r--r--include/internal/routines/level2/xgerc.h2
-rw-r--r--include/internal/routines/level2/xgeru.h2
-rw-r--r--include/internal/routines/level2/xhbmv.h2
-rw-r--r--include/internal/routines/level2/xhemv.h2
-rw-r--r--include/internal/routines/level2/xher.h3
-rw-r--r--include/internal/routines/level2/xher2.h3
-rw-r--r--include/internal/routines/level2/xhpmv.h2
-rw-r--r--include/internal/routines/level2/xhpr.h2
-rw-r--r--include/internal/routines/level2/xhpr2.h2
-rw-r--r--include/internal/routines/level2/xsbmv.h2
-rw-r--r--include/internal/routines/level2/xspmv.h2
-rw-r--r--include/internal/routines/level2/xspr.h2
-rw-r--r--include/internal/routines/level2/xspr2.h2
-rw-r--r--include/internal/routines/level2/xsymv.h2
-rw-r--r--include/internal/routines/level2/xsyr.h2
-rw-r--r--include/internal/routines/level2/xsyr2.h2
-rw-r--r--include/internal/routines/level2/xtbmv.h2
-rw-r--r--include/internal/routines/level2/xtpmv.h2
-rw-r--r--include/internal/routines/level2/xtrmv.h2
22 files changed, 26 insertions, 22 deletions
diff --git a/include/internal/routines/level2/xgbmv.h b/include/internal/routines/level2/xgbmv.h
index 27b033e9..bc94c77d 100644
--- a/include/internal/routines/level2/xgbmv.h
+++ b/include/internal/routines/level2/xgbmv.h
@@ -30,7 +30,7 @@ class Xgbmv: public Xgemv<T> {
using Xgemv<T>::MatVec;
// Constructor
- Xgbmv(Queue &queue, Event &event, const std::string &name = "GBMV");
+ Xgbmv(Queue &queue, EventPointer event, const std::string &name = "GBMV");
// Templated-precision implementation of the routine
StatusCode DoGbmv(const Layout layout, const Transpose a_transpose,
diff --git a/include/internal/routines/level2/xgemv.h b/include/internal/routines/level2/xgemv.h
index b31565ec..0b2a8e66 100644
--- a/include/internal/routines/level2/xgemv.h
+++ b/include/internal/routines/level2/xgemv.h
@@ -28,6 +28,7 @@ class Xgemv: public Routine<T> {
using Routine<T>::db_;
using Routine<T>::source_string_;
using Routine<T>::queue_;
+ using Routine<T>::event_;
using Routine<T>::GetProgramFromCache;
using Routine<T>::TestVectorX;
using Routine<T>::TestVectorY;
@@ -37,7 +38,7 @@ class Xgemv: public Routine<T> {
using Routine<T>::ErrorIn;
// Constructor
- Xgemv(Queue &queue, Event &event, const std::string &name = "GEMV");
+ Xgemv(Queue &queue, EventPointer event, const std::string &name = "GEMV");
// Templated-precision implementation of the routine
StatusCode DoGemv(const Layout layout, const Transpose a_transpose,
diff --git a/include/internal/routines/level2/xger.h b/include/internal/routines/level2/xger.h
index 45ecea10..5ace9da6 100644
--- a/include/internal/routines/level2/xger.h
+++ b/include/internal/routines/level2/xger.h
@@ -28,6 +28,7 @@ class Xger: public Routine<T> {
using Routine<T>::db_;
using Routine<T>::source_string_;
using Routine<T>::queue_;
+ using Routine<T>::event_;
using Routine<T>::GetProgramFromCache;
using Routine<T>::TestVectorX;
using Routine<T>::TestVectorY;
@@ -36,7 +37,7 @@ class Xger: public Routine<T> {
using Routine<T>::ErrorIn;
// Constructor
- Xger(Queue &queue, Event &event, const std::string &name = "GER");
+ Xger(Queue &queue, EventPointer event, const std::string &name = "GER");
// Templated-precision implementation of the routine
StatusCode DoGer(const Layout layout,
diff --git a/include/internal/routines/level2/xgerc.h b/include/internal/routines/level2/xgerc.h
index 8e515a14..6d06ef94 100644
--- a/include/internal/routines/level2/xgerc.h
+++ b/include/internal/routines/level2/xgerc.h
@@ -28,7 +28,7 @@ class Xgerc: public Xger<T> {
using Xger<T>::DoGer;
// Constructor
- Xgerc(Queue &queue, Event &event, const std::string &name = "GERC");
+ Xgerc(Queue &queue, EventPointer event, const std::string &name = "GERC");
// Templated-precision implementation of the routine
StatusCode DoGerc(const Layout layout,
diff --git a/include/internal/routines/level2/xgeru.h b/include/internal/routines/level2/xgeru.h
index ec485c37..45ce1cba 100644
--- a/include/internal/routines/level2/xgeru.h
+++ b/include/internal/routines/level2/xgeru.h
@@ -28,7 +28,7 @@ class Xgeru: public Xger<T> {
using Xger<T>::DoGer;
// Constructor
- Xgeru(Queue &queue, Event &event, const std::string &name = "GERU");
+ Xgeru(Queue &queue, EventPointer event, const std::string &name = "GERU");
// Templated-precision implementation of the routine
StatusCode DoGeru(const Layout layout,
diff --git a/include/internal/routines/level2/xhbmv.h b/include/internal/routines/level2/xhbmv.h
index 65138424..f0a6212c 100644
--- a/include/internal/routines/level2/xhbmv.h
+++ b/include/internal/routines/level2/xhbmv.h
@@ -30,7 +30,7 @@ class Xhbmv: public Xgemv<T> {
using Xgemv<T>::MatVec;
// Constructor
- Xhbmv(Queue &queue, Event &event, const std::string &name = "HBMV");
+ Xhbmv(Queue &queue, EventPointer event, const std::string &name = "HBMV");
// Templated-precision implementation of the routine
StatusCode DoHbmv(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xhemv.h b/include/internal/routines/level2/xhemv.h
index b74db760..3daf2457 100644
--- a/include/internal/routines/level2/xhemv.h
+++ b/include/internal/routines/level2/xhemv.h
@@ -30,7 +30,7 @@ class Xhemv: public Xgemv<T> {
using Xgemv<T>::MatVec;
// Constructor
- Xhemv(Queue &queue, Event &event, const std::string &name = "HEMV");
+ Xhemv(Queue &queue, EventPointer event, const std::string &name = "HEMV");
// Templated-precision implementation of the routine
StatusCode DoHemv(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xher.h b/include/internal/routines/level2/xher.h
index 6322265b..861ba302 100644
--- a/include/internal/routines/level2/xher.h
+++ b/include/internal/routines/level2/xher.h
@@ -28,6 +28,7 @@ class Xher: public Routine<T> {
using Routine<T>::db_;
using Routine<T>::source_string_;
using Routine<T>::queue_;
+ using Routine<T>::event_;
using Routine<T>::GetProgramFromCache;
using Routine<T>::TestVectorX;
using Routine<T>::TestMatrixA;
@@ -36,7 +37,7 @@ class Xher: public Routine<T> {
using Routine<T>::ErrorIn;
// Constructor
- Xher(Queue &queue, Event &event, const std::string &name = "HER");
+ Xher(Queue &queue, EventPointer event, const std::string &name = "HER");
// Translates alpha of type 'U' into type 'T'
T GetAlpha(const U alpha);
diff --git a/include/internal/routines/level2/xher2.h b/include/internal/routines/level2/xher2.h
index 26f69046..9a23199e 100644
--- a/include/internal/routines/level2/xher2.h
+++ b/include/internal/routines/level2/xher2.h
@@ -28,6 +28,7 @@ class Xher2: public Routine<T> {
using Routine<T>::db_;
using Routine<T>::source_string_;
using Routine<T>::queue_;
+ using Routine<T>::event_;
using Routine<T>::GetProgramFromCache;
using Routine<T>::TestVectorX;
using Routine<T>::TestVectorY;
@@ -37,7 +38,7 @@ class Xher2: public Routine<T> {
using Routine<T>::ErrorIn;
// Constructor
- Xher2(Queue &queue, Event &event, const std::string &name = "HER2");
+ Xher2(Queue &queue, EventPointer event, const std::string &name = "HER2");
// Templated-precision implementation of the routine
StatusCode DoHer2(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xhpmv.h b/include/internal/routines/level2/xhpmv.h
index 48f1ed3f..a1d5595a 100644
--- a/include/internal/routines/level2/xhpmv.h
+++ b/include/internal/routines/level2/xhpmv.h
@@ -30,7 +30,7 @@ class Xhpmv: public Xgemv<T> {
using Xgemv<T>::MatVec;
// Constructor
- Xhpmv(Queue &queue, Event &event, const std::string &name = "HPMV");
+ Xhpmv(Queue &queue, EventPointer event, const std::string &name = "HPMV");
// Templated-precision implementation of the routine
StatusCode DoHpmv(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xhpr.h b/include/internal/routines/level2/xhpr.h
index a0c3cb92..6554d74c 100644
--- a/include/internal/routines/level2/xhpr.h
+++ b/include/internal/routines/level2/xhpr.h
@@ -28,7 +28,7 @@ class Xhpr: public Xher<T,U> {
using Xher<T,U>::DoHer;
// Constructor
- Xhpr(Queue &queue, Event &event, const std::string &name = "HPR");
+ Xhpr(Queue &queue, EventPointer event, const std::string &name = "HPR");
// Templated-precision implementation of the routine
StatusCode DoHpr(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xhpr2.h b/include/internal/routines/level2/xhpr2.h
index fd243d33..d95e7b61 100644
--- a/include/internal/routines/level2/xhpr2.h
+++ b/include/internal/routines/level2/xhpr2.h
@@ -28,7 +28,7 @@ class Xhpr2: public Xher2<T> {
using Xher2<T>::DoHer2;
// Constructor
- Xhpr2(Queue &queue, Event &event, const std::string &name = "HPR2");
+ Xhpr2(Queue &queue, EventPointer event, const std::string &name = "HPR2");
// Templated-precision implementation of the routine
StatusCode DoHpr2(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xsbmv.h b/include/internal/routines/level2/xsbmv.h
index bb24d8f4..4328e377 100644
--- a/include/internal/routines/level2/xsbmv.h
+++ b/include/internal/routines/level2/xsbmv.h
@@ -30,7 +30,7 @@ class Xsbmv: public Xgemv<T> {
using Xgemv<T>::MatVec;
// Constructor
- Xsbmv(Queue &queue, Event &event, const std::string &name = "SBMV");
+ Xsbmv(Queue &queue, EventPointer event, const std::string &name = "SBMV");
// Templated-precision implementation of the routine
StatusCode DoSbmv(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xspmv.h b/include/internal/routines/level2/xspmv.h
index 88f02a2f..ca3e28b6 100644
--- a/include/internal/routines/level2/xspmv.h
+++ b/include/internal/routines/level2/xspmv.h
@@ -30,7 +30,7 @@ class Xspmv: public Xgemv<T> {
using Xgemv<T>::MatVec;
// Constructor
- Xspmv(Queue &queue, Event &event, const std::string &name = "SPMV");
+ Xspmv(Queue &queue, EventPointer event, const std::string &name = "SPMV");
// Templated-precision implementation of the routine
StatusCode DoSpmv(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xspr.h b/include/internal/routines/level2/xspr.h
index 5b01d2cb..7e91abc5 100644
--- a/include/internal/routines/level2/xspr.h
+++ b/include/internal/routines/level2/xspr.h
@@ -28,7 +28,7 @@ class Xspr: public Xher<T,T> {
using Xher<T,T>::DoHer;
// Constructor
- Xspr(Queue &queue, Event &event, const std::string &name = "SPR");
+ Xspr(Queue &queue, EventPointer event, const std::string &name = "SPR");
// Templated-precision implementation of the routine
StatusCode DoSpr(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xspr2.h b/include/internal/routines/level2/xspr2.h
index 3d5f4992..a34be8e8 100644
--- a/include/internal/routines/level2/xspr2.h
+++ b/include/internal/routines/level2/xspr2.h
@@ -28,7 +28,7 @@ class Xspr2: public Xher2<T> {
using Xher2<T>::DoHer2;
// Constructor
- Xspr2(Queue &queue, Event &event, const std::string &name = "SPR2");
+ Xspr2(Queue &queue, EventPointer event, const std::string &name = "SPR2");
// Templated-precision implementation of the routine
StatusCode DoSpr2(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xsymv.h b/include/internal/routines/level2/xsymv.h
index c7b92702..98a0ce88 100644
--- a/include/internal/routines/level2/xsymv.h
+++ b/include/internal/routines/level2/xsymv.h
@@ -30,7 +30,7 @@ class Xsymv: public Xgemv<T> {
using Xgemv<T>::MatVec;
// Constructor
- Xsymv(Queue &queue, Event &event, const std::string &name = "SYMV");
+ Xsymv(Queue &queue, EventPointer event, const std::string &name = "SYMV");
// Templated-precision implementation of the routine
StatusCode DoSymv(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xsyr.h b/include/internal/routines/level2/xsyr.h
index 9704a881..f88498ae 100644
--- a/include/internal/routines/level2/xsyr.h
+++ b/include/internal/routines/level2/xsyr.h
@@ -28,7 +28,7 @@ class Xsyr: public Xher<T,T> {
using Xher<T,T>::DoHer;
// Constructor
- Xsyr(Queue &queue, Event &event, const std::string &name = "SYR");
+ Xsyr(Queue &queue, EventPointer event, const std::string &name = "SYR");
// Templated-precision implementation of the routine
StatusCode DoSyr(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xsyr2.h b/include/internal/routines/level2/xsyr2.h
index f4dc9375..d2d3143a 100644
--- a/include/internal/routines/level2/xsyr2.h
+++ b/include/internal/routines/level2/xsyr2.h
@@ -28,7 +28,7 @@ class Xsyr2: public Xher2<T> {
using Xher2<T>::DoHer2;
// Constructor
- Xsyr2(Queue &queue, Event &event, const std::string &name = "SYR2");
+ Xsyr2(Queue &queue, EventPointer event, const std::string &name = "SYR2");
// Templated-precision implementation of the routine
StatusCode DoSyr2(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xtbmv.h b/include/internal/routines/level2/xtbmv.h
index 89c90193..3b358080 100644
--- a/include/internal/routines/level2/xtbmv.h
+++ b/include/internal/routines/level2/xtbmv.h
@@ -34,7 +34,7 @@ class Xtbmv: public Xgemv<T> {
using Xgemv<T>::MatVec;
// Constructor
- Xtbmv(Queue &queue, Event &event, const std::string &name = "TBMV");
+ Xtbmv(Queue &queue, EventPointer event, const std::string &name = "TBMV");
// Templated-precision implementation of the routine
StatusCode DoTbmv(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xtpmv.h b/include/internal/routines/level2/xtpmv.h
index 183d3505..f306cf4a 100644
--- a/include/internal/routines/level2/xtpmv.h
+++ b/include/internal/routines/level2/xtpmv.h
@@ -34,7 +34,7 @@ class Xtpmv: public Xgemv<T> {
using Xgemv<T>::MatVec;
// Constructor
- Xtpmv(Queue &queue, Event &event, const std::string &name = "TPMV");
+ Xtpmv(Queue &queue, EventPointer event, const std::string &name = "TPMV");
// Templated-precision implementation of the routine
StatusCode DoTpmv(const Layout layout, const Triangle triangle,
diff --git a/include/internal/routines/level2/xtrmv.h b/include/internal/routines/level2/xtrmv.h
index dadfbc98..cf0824a4 100644
--- a/include/internal/routines/level2/xtrmv.h
+++ b/include/internal/routines/level2/xtrmv.h
@@ -34,7 +34,7 @@ class Xtrmv: public Xgemv<T> {
using Xgemv<T>::MatVec;
// Constructor
- Xtrmv(Queue &queue, Event &event, const std::string &name = "TRMV");
+ Xtrmv(Queue &queue, EventPointer event, const std::string &name = "TRMV");
// Templated-precision implementation of the routine
StatusCode DoTrmv(const Layout layout, const Triangle triangle,