GSINGLE
From Jacket Wiki
Back to Function List, Jacket Basics
Convert to GPU-based single precision.
Usage
| Jacket for M Language | |||||||||||
| Supported Syntax | |||||||||||
A = gsingle(B) |
|||||||||||
|
|||||||||||
Notes
- All subsequent computations on A are performed on the graphics card (GPU).
- Use the standard MATLAB conversions to return data to the CPU (see below).
- Actual GPU computation is delayed until the results are requested.
A = gsingle(rand(4) + 8); B = (A + 4)/9; C = single(B); bring back to CPU