GPULib API

Tech-X Corporation

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

lib/

gpugetarr.pro


Routines

result = gpuGetArr( [x_gpu] [, LHS=array] [, ERROR=integer] [, /CPU] [, STREAM=long])

Transfer GPU variables to IDL.

gpuGetArr [, x_gpu], x [, ERROR=integer] [, /CPU] [, STREAM=long]

Transfer GPU variables to IDL.

Routine details

top gpuGetArr

result = gpuGetArr( [x_gpu] [, LHS=array] [, ERROR=integer] [, /CPU] [, STREAM=long])

Transfer GPU variables to IDL.

Return value

normal IDL variable of the same type/size as x_gpu (or -1L if the CPU keyword is set)

Parameters

x_gpu in optional type=object

GPU variable

Keywords

LHS in optional type=array

Left hand side of transfer

ERROR out optional type=integer

error status

CPU in optional type=boolean

set to create a CPU variable allocated in pinned (page-locked) memory; note that if CPU is set this function will not return the value (it will be in the LHS variable), it will always return -1L

STREAM in optional type=long

stream to use

top gpuGetArr

gpuGetArr [, x_gpu], x [, ERROR=integer] [, /CPU] [, STREAM=long]

Transfer GPU variables to IDL.

Parameters

x_gpu in optional type=object

GPU variable

x in out required type=any

pre-allocated normal IDL variable of the same type/size as x_gpu

Keywords

ERROR out optional type=integer

error status

CPU in optional type=boolean

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

STREAM in optional type=long

stream to use

File attributes

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