<< gpuMax sciGPGPU gpuMult >>

sciGPGPU >> sciGPGPU > gpuMin

gpuMin

Find the minimum value of matrix.

Call sequence

resMin = gpuMin(A)

Parameters

A

Can be :

Pointer on the matrix stored in GPU memory.

Pointer on the matrix stored in CPU memory.

resMin

resMin is the result of computation in host memory (CPU).

Description

resMin = gpuMin(A)

gpuMin find the minimum value of matrix A. 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 complex matrix.

Exemples

A = 1000000*rand(200,300);
dA = gpuSetData(A);

resMin = gpuMin(A)
resMin1 = gpuMin(dA)
resMin2 = min(A)

dA=gpuFree(dA);

See Also

<< gpuMax sciGPGPU gpuMult >>