Change Ylm representation to store magnitude and exp(i*phi) separately
Two advantages:
- Uses less memory (and less memory bandwidth)
- Avoids the problem that some OpenCL implementations are unable to do
async_work_group_copy
oncfloat_t
arrays (and the compiler warnings that result from the workaround of casting the array pointer tofloat*
)
Edited by Chris Kerr