/// <summary>
 /// An opaque structure holding the description of an activation operation.
 /// </summary>
 public AlgorithmDescriptor()
 {
     _desc = new cudnnAlgorithmDescriptor();
     res   = CudaDNNNativeMethods.cudnnCreateAlgorithmDescriptor(ref _desc);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateAlgorithmDescriptor", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }