public void CopyAlgorithmDescriptor(AlgorithmDescriptor dest) { res = CudaDNNNativeMethods.cudnnCopyAlgorithmDescriptor(_desc, dest.Desc); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCopyAlgorithmDescriptor", res)); if (res != cudnnStatus.Success) { throw new CudaDNNException(res); } }