Use the new numpy interface.
fix printf conversion type.
use new numpy interface
Use numpy new interface.
Use macro (numpy and cuda backend)
Merge pull request #1991 from nouiz/old_numpy

[ENH] Make the gpu back-end use the new numpy c interface