Exemple #1
0
 /// <summary>
 /// </summary>
 public FusedOpsPlan(cudnnFusedOps ops)
 {
     _plan = new cudnnFusedOpsPlan();
     res   = CudaDNNNativeMethods.cudnnCreateFusedOpsPlan(ref _plan, ops);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateFusedOpsPlan", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }