diff options
author | CNugteren <web@cedricnugteren.nl> | 2015-07-27 07:18:06 +0200 |
---|---|---|
committer | CNugteren <web@cedricnugteren.nl> | 2015-07-27 07:18:06 +0200 |
commit | f7199b831f847340f0921ef2140a4e64809db037 (patch) | |
tree | d725b7e63b0662598ad4be0a4c2457820ded8ed4 /include/internal/routines/level3/xtrmm.h | |
parent | b10f4a633c4ffb3bb04d35503396ff94528df4d0 (diff) |
Now using the new Claduc C++11 OpenCL header
Diffstat (limited to 'include/internal/routines/level3/xtrmm.h')
-rw-r--r-- | include/internal/routines/level3/xtrmm.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/include/internal/routines/level3/xtrmm.h b/include/internal/routines/level3/xtrmm.h index 4f49bebd..d8ac60fd 100644 --- a/include/internal/routines/level3/xtrmm.h +++ b/include/internal/routines/level3/xtrmm.h @@ -26,29 +26,27 @@ template <typename T> class Xtrmm: public Xgemm<T> { public: - // Uses several variables from the Routine class - using Routine::db_; - using Routine::context_; - - // Uses several helper functions from the Routine class - using Routine::RunKernel; - using Routine::ErrorIn; - using Routine::TestMatrixA; - using Routine::GetProgramFromCache; + // Members and methods from the base class + using Routine<T>::db_; + using Routine<T>::context_; + using Routine<T>::GetProgramFromCache; + using Routine<T>::TestMatrixA; + using Routine<T>::RunKernel; + using Routine<T>::ErrorIn; // Uses the regular Xgemm routine using Xgemm<T>::DoGemm; // Constructor - Xtrmm(CommandQueue &queue, Event &event); + Xtrmm(Queue &queue, Event &event); // Templated-precision implementation of the routine StatusCode DoTrmm(const Layout layout, const Side side, const Triangle triangle, const Transpose a_transpose, const Diagonal diagonal, const size_t m, const size_t n, const T alpha, - const Buffer &a_buffer, const size_t a_offset, const size_t a_ld, - const Buffer &b_buffer, const size_t b_offset, const size_t b_ld); + const Buffer<T> &a_buffer, const size_t a_offset, const size_t a_ld, + const Buffer<T> &b_buffer, const size_t b_offset, const size_t b_ld); }; // ================================================================================================= |