Exemplo n.º 1
0
 /// <summary>
 /// </summary>
 public SeqDataDescriptor()
 {
     _desc = new cudnnSeqDataDescriptor();
     res   = CudaDNNNativeMethods.cudnnCreateSeqDataDescriptor(ref _desc);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateSeqDataDescriptor", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }