I am currently working on an application where I need to retrieve the index
of the max value.
Is there a way to get the index along with the max of a gpuarray?
At the moment I am returning the array back to the host just to locate
where the max value is.