Hi, I am a newbie to CUDA and just curious to know if there is any CUBLAS function which can find minimum element index in a given vector.

I found

“cublasIsamax”-finds the smallest index of the maximum magnitude element of single precision vector

but I couldn’t trace a function returning index for minimum magnitude ele.

Is there any? if yes, can you please post it or

if no, is there an efficient way to find index of minimum magnitude element in a given vector.

Appreciate your response