diff options
Diffstat (limited to 'include/clblast.h')
-rw-r--r-- | include/clblast.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/clblast.h b/include/clblast.h index 80ea1707..bd0f161c 100644 --- a/include/clblast.h +++ b/include/clblast.h @@ -105,6 +105,28 @@ StatusCode Gemv(const Layout layout, const Transpose a_transpose, cl_mem y_buffer, const size_t y_offset, const size_t y_inc, cl_command_queue* queue, cl_event* event); +// Templated-precision hermitian matrix-vector multiplication: SHEMV/DHEMV +template <typename T> +StatusCode Hemv(const Layout layout, const Triangle triangle, + const size_t n, + const T alpha, + const cl_mem a_buffer, const size_t a_offset, const size_t a_ld, + const cl_mem x_buffer, const size_t x_offset, const size_t x_inc, + const T beta, + cl_mem y_buffer, const size_t y_offset, const size_t y_inc, + cl_command_queue* queue, cl_event* event); + +// Templated-precision symmetric matrix-vector multiplication: SSYMV/DSYMV +template <typename T> +StatusCode Symv(const Layout layout, const Triangle triangle, + const size_t n, + const T alpha, + const cl_mem a_buffer, const size_t a_offset, const size_t a_ld, + const cl_mem x_buffer, const size_t x_offset, const size_t x_inc, + const T beta, + cl_mem y_buffer, const size_t y_offset, const size_t y_inc, + cl_command_queue* queue, cl_event* event); + // ================================================================================================= // BLAS level-3 (matrix-matrix) routines |