private cudnnCreate ( |
||
handle | ||
리턴 | cudnnStatus |
/// <summary> /// </summary> public CudaDNNContext() { _handle = new cudnnHandle(); res = CudaDNNNativeMethods.cudnnCreate(ref _handle); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreate", res)); if (res != cudnnStatus.Success) { throw new CudaDNNException(res); } }