restored compilation of cuda-stuff