diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-03-25 10:00:40 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-03-25 10:00:40 +0100 |
commit | 3876096c30ad4eed5769dbc88dbfe75b7571718a (patch) | |
tree | f902f2ee43df982152ada5d8d8d0573653cef58a /include/clblast_c.h | |
parent | 49822c8ead3313e88a08f31162870e88f8ad2bb5 (diff) |
Added prototypes for SNRM2/DNRM2 routines
Diffstat (limited to 'include/clblast_c.h')
-rw-r--r-- | include/clblast_c.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/clblast_c.h b/include/clblast_c.h index c5395e51..1e4be1ab 100644 --- a/include/clblast_c.h +++ b/include/clblast_c.h @@ -208,6 +208,16 @@ StatusCode PUBLIC_API CLBlastZdotc(const size_t n, const cl_mem y_buffer, const size_t y_offset, const size_t y_inc, cl_command_queue* queue, cl_event* event); +// Euclidian norm of a vector: SNRM2/DNRM2 +StatusCode PUBLIC_API CLBlastSnrm2(const size_t n, + cl_mem nrm2_buffer, const size_t nrm2_offset, + const cl_mem x_buffer, const size_t x_offset, const size_t x_inc, + cl_command_queue* queue, cl_event* event); +StatusCode PUBLIC_API CLBlastDnrm2(const size_t n, + cl_mem nrm2_buffer, const size_t nrm2_offset, + const cl_mem x_buffer, const size_t x_offset, const size_t x_inc, + cl_command_queue* queue, cl_event* event); + // ================================================================================================= // BLAS level-2 (matrix-vector) routines // ================================================================================================= |