Updated for jcuda 5.5