summaryrefslogtreecommitdiff
path: root/include/clblast.h
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-04-30 09:49:39 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-04-30 09:49:39 +0200
commite113ff0852d21ecb898b3b192145b70cad3f338a (patch)
treed380ab9a413394f4d3901c131d0c8a02ab80e025 /include/clblast.h
parent2952390f27c07500bd2a24b5e6fdce5e282fc8dd (diff)
Added non-aboslute minimum counter-part IxMIN of the BLAS routine IxAMAX
Diffstat (limited to 'include/clblast.h')
-rw-r--r--include/clblast.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/clblast.h b/include/clblast.h
index 075ca93e..5df0f605 100644
--- a/include/clblast.h
+++ b/include/clblast.h
@@ -209,6 +209,13 @@ StatusCode Max(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 minimum value in a vector (non-BLAS function): iSMIN/iDMIN/iCMIN/iZMIN
+template <typename T>
+StatusCode Min(const size_t n,
+ cl_mem imin_buffer, const size_t imin_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
// =================================================================================================