diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-06-17 13:57:50 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-06-17 13:57:50 +0200 |
commit | 536b7fe4bce4b183cb060a1b9045752ae39d842f (patch) | |
tree | 1e1365317942c97f96764b774878868aae03faea /include/internal/routines/level3 | |
parent | 98a95c89fc0633efdc8439c942762bef9a1e5e1d (diff) |
Removed the interface to the cache functions from the Routine class, calls them directly now
Diffstat (limited to 'include/internal/routines/level3')
-rw-r--r-- | include/internal/routines/level3/xgemm.h | 4 | ||||
-rw-r--r-- | include/internal/routines/level3/xhemm.h | 3 | ||||
-rw-r--r-- | include/internal/routines/level3/xher2k.h | 2 | ||||
-rw-r--r-- | include/internal/routines/level3/xherk.h | 2 | ||||
-rw-r--r-- | include/internal/routines/level3/xsymm.h | 3 | ||||
-rw-r--r-- | include/internal/routines/level3/xsyr2k.h | 2 | ||||
-rw-r--r-- | include/internal/routines/level3/xsyrk.h | 2 | ||||
-rw-r--r-- | include/internal/routines/level3/xtrmm.h | 3 |
8 files changed, 12 insertions, 9 deletions
diff --git a/include/internal/routines/level3/xgemm.h b/include/internal/routines/level3/xgemm.h index 2fd853a9..211ae990 100644 --- a/include/internal/routines/level3/xgemm.h +++ b/include/internal/routines/level3/xgemm.h @@ -31,7 +31,7 @@ class Xgemm: public Routine<T> { using Routine<T>::device_; using Routine<T>::event_; using Routine<T>::context_; - using Routine<T>::GetProgramFromCache; + using Routine<T>::routine_name_; // Constructor Xgemm(Queue &queue, EventPointer event, const std::string &name = "GEMM"); @@ -45,7 +45,7 @@ class Xgemm: public Routine<T> { const T beta, const Buffer<T> &c_buffer, const size_t c_offset, const size_t c_ld); - private: + protected: // Static variable to get the precision const static Precision precision_; }; diff --git a/include/internal/routines/level3/xhemm.h b/include/internal/routines/level3/xhemm.h index 8bd38393..a9a422b0 100644 --- a/include/internal/routines/level3/xhemm.h +++ b/include/internal/routines/level3/xhemm.h @@ -30,10 +30,11 @@ class Xhemm: public Xgemm<T> { using Routine<T>::queue_; using Routine<T>::device_; using Routine<T>::context_; - using Routine<T>::GetProgramFromCache; + using Routine<T>::routine_name_; // Uses the regular Xgemm routine using Xgemm<T>::DoGemm; + using Xgemm<T>::precision_; // Constructor Xhemm(Queue &queue, EventPointer event, const std::string &name = "HEMM"); diff --git a/include/internal/routines/level3/xher2k.h b/include/internal/routines/level3/xher2k.h index 1afe87a6..092d7246 100644 --- a/include/internal/routines/level3/xher2k.h +++ b/include/internal/routines/level3/xher2k.h @@ -33,7 +33,7 @@ class Xher2k: public Routine<T> { using Routine<T>::device_; using Routine<T>::event_; using Routine<T>::context_; - using Routine<T>::GetProgramFromCache; + using Routine<T>::routine_name_; // Constructor Xher2k(Queue &queue, EventPointer event, const std::string &name = "HER2K"); diff --git a/include/internal/routines/level3/xherk.h b/include/internal/routines/level3/xherk.h index 64abae3b..b5e2d723 100644 --- a/include/internal/routines/level3/xherk.h +++ b/include/internal/routines/level3/xherk.h @@ -33,7 +33,7 @@ class Xherk: public Routine<T> { using Routine<T>::device_; using Routine<T>::event_; using Routine<T>::context_; - using Routine<T>::GetProgramFromCache; + using Routine<T>::routine_name_; // Constructor Xherk(Queue &queue, EventPointer event, const std::string &name = "HERK"); diff --git a/include/internal/routines/level3/xsymm.h b/include/internal/routines/level3/xsymm.h index c35dfb5e..991284f5 100644 --- a/include/internal/routines/level3/xsymm.h +++ b/include/internal/routines/level3/xsymm.h @@ -32,10 +32,11 @@ class Xsymm: public Xgemm<T> { using Routine<T>::queue_; using Routine<T>::device_; using Routine<T>::context_; - using Routine<T>::GetProgramFromCache; + using Routine<T>::routine_name_; // Uses the regular Xgemm routine using Xgemm<T>::DoGemm; + using Xgemm<T>::precision_; // Constructor Xsymm(Queue &queue, EventPointer event, const std::string &name = "SYMM"); diff --git a/include/internal/routines/level3/xsyr2k.h b/include/internal/routines/level3/xsyr2k.h index 73d11b0b..c7ae1678 100644 --- a/include/internal/routines/level3/xsyr2k.h +++ b/include/internal/routines/level3/xsyr2k.h @@ -33,7 +33,7 @@ class Xsyr2k: public Routine<T> { using Routine<T>::device_; using Routine<T>::event_; using Routine<T>::context_; - using Routine<T>::GetProgramFromCache; + using Routine<T>::routine_name_; // Constructor Xsyr2k(Queue &queue, EventPointer event, const std::string &name = "SYR2K"); diff --git a/include/internal/routines/level3/xsyrk.h b/include/internal/routines/level3/xsyrk.h index 344c02e2..860f8e10 100644 --- a/include/internal/routines/level3/xsyrk.h +++ b/include/internal/routines/level3/xsyrk.h @@ -35,7 +35,7 @@ class Xsyrk: public Routine<T> { using Routine<T>::device_; using Routine<T>::event_; using Routine<T>::context_; - using Routine<T>::GetProgramFromCache; + using Routine<T>::routine_name_; // Constructor Xsyrk(Queue &queue, EventPointer event, const std::string &name = "SYRK"); diff --git a/include/internal/routines/level3/xtrmm.h b/include/internal/routines/level3/xtrmm.h index 5c12815d..caf1ca75 100644 --- a/include/internal/routines/level3/xtrmm.h +++ b/include/internal/routines/level3/xtrmm.h @@ -31,10 +31,11 @@ class Xtrmm: public Xgemm<T> { using Routine<T>::queue_; using Routine<T>::device_; using Routine<T>::context_; - using Routine<T>::GetProgramFromCache; + using Routine<T>::routine_name_; // Uses the regular Xgemm routine using Xgemm<T>::DoGemm; + using Xgemm<T>::precision_; // Constructor Xtrmm(Queue &queue, EventPointer event, const std::string &name = "TRMM"); |