Added tornado.opencl.circularevents system property to allow CIRCULAR_EVENTS to be set by the user
@@ -99,7 +99,7 @@ public class OCLCommandQueue extends TornadoLogger {
private final OCLEvent internalEvent;
- private static final boolean CIRCULAR_EVENTS = false;
+ private static final boolean CIRCULAR_EVENTS = Boolean.parseBoolean(getProperty("tornado.opencl.circularevents", "True"));
public OCLCommandQueue(long id, long properties, int version) {
this.id = id;
