Ejemplo n.º 1
0
 /// <summary>
 /// </summary>
 public FusedOpsVariantParamPack(cudnnFusedOps ops)
 {
     _pack = new cudnnFusedOpsVariantParamPack();
     res   = CudaDNNNativeMethods.cudnnCreateFusedOpsVariantParamPack(ref _pack, ops);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateFusedOpsVariantParamPack", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }