diff options
author | cnugteren <web@cedricnugteren.nl> | 2016-04-20 21:11:33 -0600 |
---|---|---|
committer | cnugteren <web@cedricnugteren.nl> | 2016-04-20 21:11:33 -0600 |
commit | 894983fc3c7c57ffc48c21523641694cde318eca (patch) | |
tree | e1c5e36923448fa6c89014216308bce631c24a6e /include/clblast.h | |
parent | 5a4f8217be97575daf4f0f97d8ae7f8cf7bbbcd0 (diff) |
Added prototype for ixAMAX routines
Diffstat (limited to 'include/clblast.h')
-rw-r--r-- | include/clblast.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/clblast.h b/include/clblast.h index cf55a256..57948581 100644 --- a/include/clblast.h +++ b/include/clblast.h @@ -188,6 +188,13 @@ StatusCode Asum(const size_t n, const cl_mem x_buffer, const size_t x_offset, const size_t x_inc, cl_command_queue* queue, cl_event* event = nullptr); +// Index of absolute maxium value in a vector: iSAMAX/iDAMAX/iCAMAX/iZAMAX +template <typename T> +StatusCode Amax(const size_t n, + cl_mem imax_buffer, const size_t imax_offset, + const cl_mem x_buffer, const size_t x_offset, const size_t x_inc, + cl_command_queue* queue, cl_event* event = nullptr); + // ================================================================================================= // BLAS level-2 (matrix-vector) routines // ================================================================================================= |