JCUDA modifications