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