lib/
gpumult.pro
Routines
Routine details
top gpuMult
result = gpuMult(p1, p2, p3 [, p4] [, p5] [, LHS=GPUVariable object] [, /NONBLOCKING] [, ERROR=integer])
Multiply two vectors
 There are two forms for the arguments to this routine:
 result = p1 * p2
 where p1, p2 are GPUVariable object or a numeric array and p3 is GPUVariable
 object.
 Or:
 result = p1 * p2 * p3 * p4 + p5
 where p2, p4 are GPUVariable object or a numeric array, and p1, p3, and p5 are
 scalar values.
Return value
GPUVariable objecrt
Parameters
- p1 in required type=numtype or GPUVariable object
 - p2 in required type=GPUVariable object
 - p3 in out required type=numtype or GPUVariable object
 - p4 in optional type=GPUVariable object
 - p5 in optional type=numtype
 
Keywords
- LHS in optional type=GPUVariable object
 pass GPU variable to use as return value
- NONBLOCKING in optional type=boolean
 unless this keyword is set, this will block until the device has completed all preceding requested tasks
- ERROR out optional type=integer
 error status
top gpuMult
gpuMult, p1, p2, p3 [, p4] [, p5] [, p6] [, /NONBLOCKING] [, ERROR=integer]
Multiply two vectors
 There are two forms for the arguments to this routine:
 p3 = p1 * p2
 where p1, p2 are GPUVariable objects or a numeric array and p3 is a
 GPUVariable object.
 Or:
 p6 = p1 * p2 * p3 * p4 + p5
 where p2, p4 are GPUVariable objects or a numeric array, p6 is GPUVariable
 object= and p1, p3, and p5 are scalar values.
Parameters
- p1 in required type=numtype or GPUVariable object
 - p2 in required type=GPUVariable object
 - p3 in out required type=numtype or GPUVariable object
 - p4 in optional type=GPUVariable object
 - p5 in optional type=numtype
 - p6 out optional type=GPUVariable object
 
Keywords
- NONBLOCKING in optional type=boolean
 unless this keyword is set, this will block until the device has completed all preceding requested tasks
- ERROR out optional type=integer
 error status
File attributes
| Modification date: | Fri Nov 12 11:07:45 2010 | 
| Lines: | 374 | 
| Docformat: | rst rst |