Merge pull request #222 from shehzan10/devel

Adding noDoubleTests condition to all tests to skip tests when
a device with no double precision capability is the active device.
Updating math_ptx submodule

- Fixes problem with erf
Adding abs support for complex numbers
Merge pull request #226 from pavanky/cplx

Abs support for complex numbers
Compilation fix for cpu complex.hpp
Added pinned memory functionality

* Moved alloc and pinned out of array class. Now use af::alloc or af::pinned.
* Fixed warning in cuda JIT for printf