Allow the user to configure the GPU render bucket size (#220)

* Feature: user defined render bucket size when using GPUs
This commit is contained in:
Luis Uguina
2020-05-16 18:20:38 +10:00
committed by GitHub
parent 36e32ab168
commit bd88b2e3dd
9 changed files with 255 additions and 15 deletions

View File

@@ -57,6 +57,7 @@ public class Configuration {
private int priority;
private ComputeType computeMethod;
private GPUDevice GPUDevice;
private int renderbucketSize;
private boolean detectGPUs;
private boolean printLog;
private List<Pair<Calendar, Calendar>> requestTime;
@@ -80,6 +81,7 @@ public class Configuration {
this.priority = 19; // default lowest
this.computeMethod = null;
this.GPUDevice = null;
this.renderbucketSize = -1;
this.userHasSpecifiedACacheDir = false;
this.detectGPUs = true;
this.workingDirectory = null;