made GPU code compile again