mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-15 16:07:45 +01:00
Increase NCNN thread limit in GUI
This commit is contained in:
2
Code/Forms/SettingsForm.Designer.cs
generated
2
Code/Forms/SettingsForm.Designer.cs
generated
@@ -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});
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user