[WIP-Reductions] Identify barrier before printing
@@ -69,6 +69,9 @@ public abstract class OCLKernelScheduler {
}
if (meta.shouldPrintKernelExecutionTime()) {
+
+ // XXX: Add barrier before printing
+
// Print kernel statistics
Event kernelEvent = deviceContext.resolveEvent(task);
System.out.println("Kernel Time: " + kernelEvent.getExecutionTimeInNanoSeconds() + " (ns)");
