From 48d7f788998a3326ccae574b6f68516424866b44 Mon Sep 17 00:00:00 2001 From: lltcggie Date: Sun, 6 Dec 2015 21:41:55 +0900 Subject: [PATCH] =?UTF-8?q?cuDNN=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF=E5=80=A4?= =?UTF-8?q?=E3=82=92v3=E3=81=AE=E3=82=82=E3=81=AE=E3=81=AB=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/waifu2x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/waifu2x.cpp b/common/waifu2x.cpp index be1b43c..ca8f1b0 100644 --- a/common/waifu2x.cpp +++ b/common/waifu2x.cpp @@ -280,7 +280,7 @@ Waifu2x::eWaifu2xcuDNNError Waifu2x::can_use_cuDNN() cudnnGetVersionType cudnnGetVersionFunc = (cudnnGetVersionType)GetProcAddress(hModule, "cudnnGetVersion"); if (cudnnCreateFunc != nullptr && cudnnDestroyFunc != nullptr && cudnnGetVersionFunc != nullptr) { - if (cudnnGetVersionFunc() >= 2000) + if (cudnnGetVersionFunc() >= 3000) { cudnnHandle_t h; if (cudnnCreateFunc(&h) == CUDNN_STATUS_SUCCESS)