porting to ArrayFire 2.0. has some bugs now...
wtf, an empty main function segfaults?
guess every arrayfire call segfaults. emailing pavan with a bug report. same problem in provided arrayfire examples
yessss. computing mag without mult or sqrt. never going up to 32-bit space.