ArrayFire: a general purpose GPU library.