Fix kernel compilation under stupid cuda overloading rules.