summaryrefslogtreecommitdiff
path: root/include/clblast.h
diff options
context:
space:
mode:
authorCNugteren <web@cedricnugteren.nl>2015-07-10 07:19:59 +0200
committerCNugteren <web@cedricnugteren.nl>2015-07-10 07:19:59 +0200
commit919bba3eaf0feaa83e787aa500d6f0d5169b02b5 (patch)
tree207f61a5336a207306c523c031d8bc302c02bca1 /include/clblast.h
parent2fe3fe15801f8ef11b38bfd93d7d68fbb37253a1 (diff)
Added the HERK routine, tester, and client
Diffstat (limited to 'include/clblast.h')
-rw-r--r--include/clblast.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/clblast.h b/include/clblast.h
index 5da10810..d7c902d9 100644
--- a/include/clblast.h
+++ b/include/clblast.h
@@ -140,6 +140,16 @@ StatusCode Syrk(const Layout layout, const Triangle triangle, const Transpose a_
cl_mem c_buffer, const size_t c_offset, const size_t c_ld,
cl_command_queue* queue, cl_event* event);
+// Templated-precision rank-K update of a hermitian matrix: CHERK/ZHERK
+template <typename T>
+StatusCode Herk(const Layout layout, const Triangle triangle, const Transpose a_transpose,
+ const size_t n, const size_t k,
+ const T alpha,
+ const cl_mem a_buffer, const size_t a_offset, const size_t a_ld,
+ const T beta,
+ cl_mem c_buffer, const size_t c_offset, const size_t c_ld,
+ cl_command_queue* queue, cl_event* event);
+
// Templated-precision rank-2K update of a symmetric matrix: SSYR2K/DSYR2K/CSYR2K/ZSYR2K
template <typename T>
StatusCode Syr2k(const Layout layout, const Triangle triangle, const Transpose ab_transpose,