cudnnCreateLRNDescriptor() private method

private cudnnCreateLRNDescriptor ( cudnnLRNDescriptor &normDesc ) : cudnnStatus
normDesc cudnnLRNDescriptor
return cudnnStatus
Esempio n. 1
0
 /// <summary>
 /// </summary>
 public LRNDescriptor(CudaDNNContext context)
 {
     _handle = context.Handle;
     _desc   = new cudnnLRNDescriptor();
     res     = CudaDNNNativeMethods.cudnnCreateLRNDescriptor(ref _desc);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateLRNDescriptor", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }