fix master build with CUDA after latest 2.4 merge