Compute the norm of matrix.
resNorm = gpuNorm(A)
Can be :
Pointer on the matrix stored in device memory (GPU).
Pointer on the matrix stored in host memory (CPU).
resNorm is the result of computation stored in host memory (CPU).
gpuNorm
compute the Frobenius norm of matrix.
This function use cuBLAS to perform operations.