Find the Minimum value of a matrix or between two matrix.
resMin = gpuMin(A[,B])
Can be :
Pointer on the matrix stored in device memory (GPU).
Pointer on the matrix stored in host memory (CPU).
Can be :
Pointer on the matrix stored in device memory (GPU).
Pointer on the matrix stored in host memory (CPU).
A and B must have the same size.
resMin is the result of computation.
In case of one input argument, resMin is a scalar stored in host memory (CPU).
In case of two input argument, resMin is a matrix stored in device memory (GPU).
gpuMin
find the Minimum value of matrix Aor perform the elementwise min between A and B.
To find the minimum value of complex matrix, the function performs operation abs(real)+abs(imaginary).
This function use cuBLAS to perform operations only with a complex matrix and one input argument.