<WIP> FPGA scheduler updated for batch processing
@@ -41,7 +41,9 @@ public class OCLFPGAScheduler extends OCLKernelScheduler {
final long[] globalWork = meta.getGlobalWork();
for (int i = 0; i < meta.getDims(); i++) {
- long value = (long) (meta.getDomain().get(i).cardinality());
+ // long value = (long) (meta.getDomain().get(i).cardinality());
+ long value = (batchThreads <= 0) ? (long) (meta.getDomain().get(i).cardinality()) : batchThreads;
+
if (value % WARP != 0) {
value = ((value / WARP) + 1) * WARP;
}
