lib/
gpucopy.pro
Routines
result = gpuCopy(x_gpu [, LHS=GPUVariable object] [, ERROR=integer])Copies a GPU vector
gpuCopy, x_gpu [, res_gpu] [, ERROR=integer]Copies a GPU vector
Routine details
top gpuCopy
result = gpuCopy(x_gpu [, LHS=GPUVariable object] [, ERROR=integer])
Copies a GPU vector
Return value
GPUVariable object
Parameters
- x_gpu in required type=float or GPUVariable object
 GPU array to copy. If an IDL array is provided, it is first copied to the GPU.
Keywords
- LHS in optional type=GPUVariable object
 pass GPU variable to use as return value
- ERROR out optional type=integer
 error status
top gpuCopy
gpuCopy, x_gpu [, res_gpu] [, ERROR=integer]
Copies a GPU vector
Parameters
- x_gpu in required type=float or GPUVariable object
 GPU array to copy. If and IDL array is provided, it is first copied to the GPU.
- res_gpu in optional type= any
 resulting GPU vector. If res_gpu is a {GPUHANDLE} it is used for holding the result, otherwise a new GPU array is created.
Keywords
- ERROR out optional type=integer
 error status
File attributes
| Modification date: | Fri Nov 12 11:07:44 2010 | 
| Lines: | 119 | 
| Docformat: | rst rst |