Fixing CUDA on CPU in case of no work

6 jobs for master in 31 seconds
Status Name Job ID Coverage
  Build
passed centos_build #9450
centos

00:00:14

passed mac_build #9451
mac

00:00:10

passed ubuntu_build #9452
ubuntu

00:00:10

 
  Test
passed centos_run #9453
centos

00:00:02

passed mac_run #9454
mac

00:00:01

passed ubuntu_run #9455
ubuntu

00:00:00