cudnnCreatePoolingDescriptor() private method

private cudnnCreatePoolingDescriptor ( cudnnPoolingDescriptor &poolingDesc ) : cudnnStatus
poolingDesc cudnnPoolingDescriptor
return cudnnStatus
Example #1
0
 /// <summary>
 /// </summary>
 public PoolingDescriptor()
 {
     _desc = new cudnnPoolingDescriptor();
     res   = CudaDNNNativeMethods.cudnnCreatePoolingDescriptor(ref _desc);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreatePoolingDescriptor", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }