[feat] deprecated check that is not valid anymore
@@ -42,14 +42,6 @@ public class OCLGridInfo implements GridInfo {
@Override
public boolean checkGridDimensions() {
- if (deviceContext.isPlatformFPGA()) {
- List<Boolean> localGroupComparison = IntStream.range(0, localWork.length).mapToObj(i -> localWork[i] == OCLFPGAScheduler.LOCAL_WORK_SIZE[i]).collect(Collectors.toList());
- if (localGroupComparison.contains(Boolean.FALSE)) {
- return false;
- } else {
- return true;
- }
- }
long[] blockMaxWorkGroupSize = deviceContext.getDevice().getDeviceMaxWorkGroupSize();
long maxWorkGroupSize = Arrays.stream(blockMaxWorkGroupSize).sum();
long totalThreads = Arrays.stream(localWork).reduce(1, (a, b) -> a * b);
