Forward declare cuda_launcher as a struct to avoid clang error.