GPULib API

Tech-X Corporation

single page | use frames     summary     class     fields     routine details     file attributes

lib/

gpumaxop.pro


top gpuMaxOp

result = gpuMaxOp(x_gpu, y_gpu [, LHS=GPUVariable object] [, ERROR=integer])

Compares the elements of a vector with a scalar or vector and sets the resulting vector to the larger of the two.

Return value

a vector set to the maximum of the elements of the input vector and the provide threshold vector or scalar.

Parameters

x_gpu in required type=GPUVariable object

GPU array to search for maximum

y_gpu in required type=float or GPUVariable object

Keywords

LHS in optional type=GPUVariable object

GPU vector for result

ERROR out optional type=integer

error status

File attributes

Modification date: Fri Nov 12 11:07:46 2010
Lines: 123
Docformat: rst rst