GPULib API

Tech-X Corporation

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

lib/

gpuwhere.pro


Routines

result = gpuWhere(x_gpu [, count] [, LHS=GPUVariable object] [, ERROR=integer])

Scans the (float-boolean) input vector and stores the indices of the true elements in the output vector.

gpuWhere, x_gpu, res_gpu [, count] [, ERROR=integer]

Scans the (float-boolean) input vector and stores the indices of the true elements in the output vector.

Routine details

top gpuWhere

result = gpuWhere(x_gpu [, count] [, LHS=GPUVariable object] [, ERROR=integer])

Scans the (float-boolean) input vector and stores the indices of the true elements in the output vector. The input vector is overwritten.

Return value

GPUVariable object

Parameters

x_gpu in required type=GPUVariable object

GPU array containing the flags

count out optional type=long

number of true elements

Keywords

LHS in optional type=GPUVariable object

pass GPU variable to use as return value

ERROR out optional type=integer

error status

top gpuWhere

gpuWhere, x_gpu, res_gpu [, count] [, ERROR=integer]

Scans the (float-boolean) input vector and stores the indices of the true elements in the output vector. The input vector is overwritten.

Parameters

x_gpu in required type=GPUVariable object

GPU array containing the flags

res_gpu out required type=GPUVariable object

GPU array icontaining the indices of the true elements in the input vector.

count out optional type=long

number of true elements

Keywords

ERROR out optional type=integer

error status

File attributes

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