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