Max() function?

hello everyone,
Is there a Max function that find the maximum value/index of it in an array?

thanks

Finding the value can be done using reduction:

http://forums.nvidia.com/index.php?showtop…amp;mode=linear
http://forums.nvidia.com/index.php?showtop…amp;mode=linear

You could also check out the cublasIsamax function from the CUBLAS library.
http://developer.download.nvidia.com/compu…Library_2.1.pdf