cudnnCreateConvolutionDescriptor() private method

private cudnnCreateConvolutionDescriptor ( cudnnConvolutionDescriptor &convDesc ) : cudnnStatus
convDesc cudnnConvolutionDescriptor
return cudnnStatus
コード例 #1
0
 /// <summary>
 /// </summary>
 public ConvolutionDescriptor()
 {
     _desc = new cudnnConvolutionDescriptor();
     res   = CudaDNNNativeMethods.cudnnCreateConvolutionDescriptor(ref _desc);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateConvolutionDescriptor", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }