Hi,
I’ve been searching on the forum and couldn’t find a way to get the absolute minimum value of a vector. I mean, -5 would be smaller than 6. Thus, i can’t use cublasIsamin()
if it helps, my target is obtaining the minimum of each column of a matrix
thanks
antonae
Just a couple of thoughts…may not be very desirable though…
You could run a kernel that changes all of the values to positive and then use the CUBLAS min function.
I’d also imagine you should also be able to modify the SDK Reduction example to accomplish this.
And is -7 smaller or greater than 6 ?
You could probably use reduction. It’s in the SDK.
It was a bad example, mine :(
-7 would be smaller than 6.
thanks,
ant