Splitting source files between CUDA and CPU code.