From Jacket Wiki
Back to Function List
Convert to double precision
Usage
| Jacket for M Language |
| | Supported Syntax |
| |
|
| |
|
Notes
- DOUBLE can be used to convert GPU variables to CPU variables. Execution of this operation results in a memory transfer from the GPU to the CPU.
- One bottleneck in achieving reasonable amounts of speedup is memory transfer. If you wish to optimize your code and achieve speed-ups, try to reduce the amount of casts to double especially on large variables, as each such operation can incur a costly memory transfer operation which would slow down your code.
See Also
GDOUBLE, GSINGLE, SINGLE, ISFLOAT, ISNUMERIC