lib/
gpudblarr.pro
top gpuDblarr
result = gpuDblarr(nx [, ny] [, /NOZERO] [, ERROR=integer] [, /CPU])
This routine creates an IDL structure representing a double array on the GPU that other GPULiblibrary routines can use.
Return value
GPUVariable object
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, gpuDblarr 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:43 2010 |
Lines: | 64 |
Docformat: | rst rst |