@Override public long getMaxiumWorkItemsPerGroup() { return device.getMaxWorkGroupSize(); }
/** * Calculates the number of local work units per work group. * * @return the size of the work groups */ public static int getLocalSize() { return Math.min(device.getMaxWorkGroupSize(), 256); }
/** * Calculates the number of local work units per work group, applying a specified maximum. * * @param max the maximum size allowed * @return the size of the work groups */ public static int getLocalSize(int max) { return Math.min(device.getMaxWorkGroupSize(), max); }
int group = device.getMaxWorkGroupSize(); Input input = (Input) _ls[0]; while (true) {