GPULib API

Tech-X Corporation

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

lib/

gpumax.pro


top gpuMax

result = gpuMax(x_gpu [, max_subscript] [, DIMENSION=integer] [, /ABSOLUTE] [, LHS=GPUVariable object] [, ERROR=integer])

Calculates the maximum of the elements of the GPU vector.

Return value

maximum value of x_gpu

Parameters

x_gpu in required type=GPUVariable object

GPU array to search for maximum

max_subscript in optional type=long

position of the first ocurrence of the maximum element

Keywords

DIMENSION in optional type=integer

dimension over which to find the maximum

ABSOLUTE in optional type=boolean

use abolute value for comparison

LHS in optional type=GPUVariable object

pass GPU variable to use as return value

ERROR out optional type=integer

error status

File attributes

Modification date: Fri Nov 12 11:07:44 2010
Lines: 186
Docformat: rst rst