Tidy repeated CUDA compilation code