GPULib API

Tech-X Corporation

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

lib/

gpufltarr.pro


top gpuFltarr

result = gpuFltarr(nx [, ny] [, /NOZERO] [, ERROR=integer] [, /CPU])

This routine creates an IDL object representing a float array on the GPU that other GPULib library routines can use.

Return value

GPUVariable

Parameters

nx in required type=integer

size of first dimenion

ny in optional type=integer

size of second dimenion, if present

Keywords

NOZERO in optional type=boolean

Normally, gpuFltarr setts every element of the allocated array to zero. If set, this keyword prevents zeroing the elements, running slightly faster.

ERROR out optional type=integer

error status

CPU in optional type=boolean

set to create a CPU variable allocated in pinned (page-locked) memory

File attributes

Modification date: Fri Nov 12 11:07:45 2010
Lines: 65
Docformat: rst rst