This commit is contained in:
Daniel Mills 2021-07-28 21:35:22 -04:00
parent f7ae9c06d8
commit 408742494a

View File

@ -51,7 +51,7 @@ public class IrisPostModifier extends EngineAssignedModifier<BlockData> {
PrecisionStopwatch p = PrecisionStopwatch.start(); PrecisionStopwatch p = PrecisionStopwatch.start();
int i; int i;
AtomicInteger j = new AtomicInteger(); AtomicInteger j = new AtomicInteger();
if (false) { if (false) { // TODO FIX DESYNCS
BurstExecutor e = getEngine().burst().burst(output.getWidth()); BurstExecutor e = getEngine().burst().burst(output.getWidth());
for (i = 0; i < output.getWidth(); i++) { for (i = 0; i < output.getWidth(); i++) {
int finalI = i; int finalI = i;
@ -63,11 +63,7 @@ public class IrisPostModifier extends EngineAssignedModifier<BlockData> {
} }
e.complete(); e.complete();
} else { } else {
for (i = 0; i < output.getWidth(); i++) {
for (j.set(0); j.get() < output.getDepth(); j.getAndIncrement()) {
post(i, j.get(), output, i + x, j.get() + z);
}
}
} }
getEngine().getMetrics().getPost().put(p.getMilliseconds()); getEngine().getMetrics().getPost().put(p.getMilliseconds());