lib/
gpuproperties.pro
top gpuproperties
result = gpuproperties( [device] [, /DOUBLE_CAPABLE] [, /NAME] [, /N_DEVICES])
Returns properties about a graphics device.
Return value
properties structure or boolean, if a keyword is set
Parameters
- device in optional type=long default=!gpu.device or 0L
device identifier for the device to check
Keywords
- DOUBLE_CAPABLE in optional type=boolean
set to return whether the graphics device is capable of double-precision computations
- NAME in optional type=boolean
set to return name of current graphics device
- N_DEVICES in optional type=boolean
set to return the number of devices
File attributes
Modification date: | Fri Nov 12 11:07:46 2010 |
Lines: | 51 |
Docformat: | rst rst |