Find the Maximum value of matrix.
resMax = gpuMax(A)
Can be :
Pointer on the matrix stored in device memory (GPU).
Pointer on the matrix stored in host memory (CPU).
resMax is the result of computation in host memory (CPU).
gpuMax
find the Maximum value of matrix A.
To find the Maximum value of complex matrix, the function performs operation abs(real)+abs(imaginary).
This function use cuBLAS to perform operations only with a complex matrix.