private cudnnCreateOpTensorDescriptor ( |
||
opTensorDesc | ||
return | cudnnStatus |
/// <summary> /// </summary> public OpTensorDescriptor(CudaDNNContext context) { _handle = context.Handle; _desc = new cudnnOpTensorDescriptor(); res = CudaDNNNativeMethods.cudnnCreateOpTensorDescriptor(ref _desc); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateOpTensorDescriptor", res)); if (res != cudnnStatus.Success) { throw new CudaDNNException(res); } }