mirror of https://github.com/n00mkrad/flowframes
Increase NCNN thread limit in GUI
This commit is contained in:
parent
c20c1b55ee
commit
4faeb7d938
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue