From 5a99e7ca3fcb26cb40e334ca17650e16de6143dd Mon Sep 17 00:00:00 2001 From: rigaya Date: Sun, 3 Mar 2024 18:04:21 +0900 Subject: [PATCH] =?UTF-8?q?vpp-fruc=E3=81=AB=E3=81=AFCC7.0=E4=BB=A5?= =?UTF-8?q?=E9=99=8D=E3=81=AEGPU=E3=81=8C=E5=BF=85=E8=A6=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NVEncCore/NVEncCore.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NVEncCore/NVEncCore.cpp b/NVEncCore/NVEncCore.cpp index e211aa33..2d1e5549 100644 --- a/NVEncCore/NVEncCore.cpp +++ b/NVEncCore/NVEncCore.cpp @@ -864,6 +864,15 @@ NVENCSTATUS NVEncCore::CheckGPUListByEncoder(std::vectorvpp.fruc.enable) { + //nvof-frucにはturing以降(CC7.0)が必要 + const int nvvfxRequiredCCMajor = 7; + if ((*gpu)->cc().first < nvvfxRequiredCCMajor) { + message += strsprintf(_T("GPU #%d (%s) does not support fruc, CC 7.0 is required but GPU is CC %d.%d.\n"), (*gpu)->id(), (*gpu)->name().c_str(), (*gpu)->cc().first, (*gpu)->cc().second); + gpu = gpuList.erase(gpu); + continue; + } + } PrintMes(RGY_LOG_DEBUG, _T("GPU #%d (%s) available for encode.\n"), (*gpu)->id(), (*gpu)->name().c_str()); gpu++;