hello everyone,
Is there a Max function that find the maximum value/index of it in an array?
thanks
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:
[url=“http://forums.nvidia.com/index.php?showtopic=78547&mode=linear”]http://forums.nvidia.com/index.php?showtop...amp;mode=linear[/url]
[url=“http://forums.nvidia.com/index.php?showtopic=89435&mode=linear”]http://forums.nvidia.com/index.php?showtop...amp;mode=linear[/url]
You could also check out the cublasIsamax function from the CUBLAS library.
[url=“http://developer.download.nvidia.com/compute/cuda/2_1/toolkit/docs/CUBLAS_Library_2.1.pdf”]http://developer.download.nvidia.com/compu...Library_2.1.pdf[/url]