Increase NCNN thread limit in GUI

This commit is contained in:
n00mkrad 2023-02-17 22:11:18 +01:00
parent c20c1b55ee
commit 4faeb7d938
2 changed files with 2 additions and 2 deletions

View File

@ -1220,7 +1220,7 @@
this.ncnnThreads.ForeColor = System.Drawing.Color.White;
this.ncnnThreads.Location = new System.Drawing.Point(280, 98);
this.ncnnThreads.Maximum = new decimal(new int[] {
4,
8,
0,
0,
0});

View File

@ -83,7 +83,7 @@ namespace Flowframes.Utilities
for (int i = 1; i < gpusAmount; i++)
progThreadsStr += $",{threads}";
return $"{(forceSingleThread ? 1 : (Interpolate.currentlyUsingAutoEnc ? 2 : 4))}:{progThreadsStr}:4"; // Read threads: 1 for singlethreaded, 2 for autoenc, 4 if order is irrelevant
return $"{(Interpolate.currentlyUsingAutoEnc ? 2 : 4)}:{progThreadsStr}:4"; // Read threads: 1 for singlethreaded, 2 for autoenc, 4 if order is irrelevant
}
public static async Task DeleteNcnnDupes(string dir, float factor)