GPULib API

Tech-X Corporation

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

lib/

gpuinit.pro


Routines

result = gpuDetectDeviceMode( [devId] [, /VERBOSE])

Detects the installed GPU device.

gpuinit [, devId] [, /HARDWARE] [, /EMULATOR] [, /IDL] [, ERROR=integer] [, /VERBOSE] [, /QUIET] [, /NO_TEST]

Start up the IDL CUDA interface in either: hardware, emulator, or IDL mode.

Routine details

top gpuDetectDeviceMode

result = gpuDetectDeviceMode( [devId] [, /VERBOSE])

Detects the installed GPU device.

Return value

identifier for installed GPU device: 1 for GPU hardware 0 for pure IDL emulation -1 for GPU hardware emulation

Parameters

devId in out optional type=numtype

id of the device to be used for GPU computations

Keywords

VERBOSE in optional type=boolean

set to display messages/warnings as GPULib initializes itself

top gpuinit

gpuinit [, devId] [, /HARDWARE] [, /EMULATOR] [, /IDL] [, ERROR=integer] [, /VERBOSE] [, /QUIET] [, /NO_TEST]

Start up the IDL CUDA interface in either: hardware, emulator, or IDL mode. Unless a new mode is specfied, uses the previous mode if the CUDA interface has already been initialized. Defaults to hardware if no mode is specified and CUDA has not already been initialized.

Parameters

devId in optional type=numtype

id of the GPU device to be used for GPU computations

Keywords

HARDWARE in optional type=boolean

set to run GPU library routine in hardware mode

EMULATOR in optional type=boolean

set to run GPU library routines in emulator mode

IDL in optional type=boolean

set to run GPU library routines in native IDL mode

ERROR out optional type=integer

error status

VERBOSE in optional type=boolean

set to display messages/warnings as GPULib initializes itself

QUIET in optional type=boolean

set to not display messages/warnings unless initialization has failed

NO_TEST in optional type=boolean

set to not test GPU memory allocation

File attributes

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