Auto-set NCNN GPU threads default value based on hardware

This commit is contained in:
N00MKRAD
2024-11-14 22:34:26 +01:00
parent 7e043f5273
commit 8a578daac0
3 changed files with 8 additions and 8 deletions

View File

@@ -282,7 +282,7 @@ namespace Flowframes.IO
if (key == Key.uhdThresh) return WriteDefault(key, "1600");
if (key == Key.torchGpus) return WriteDefault(key, "0");
if (key == Key.ncnnGpus) return WriteDefault(key, "0");
if (key == Key.ncnnThreads) return WriteDefault(key, "4");
if (key == Key.ncnnThreads) return WriteDefault(key, "0");
if (key == Key.dainNcnnTilesize) return WriteDefault(key, "768");
// Debug / Other / Experimental
if (key == Key.ffEncPreset) return WriteDefault(key, "fast");