Make cuda code compile again