clGetDeviceInfo(devices[dev], CL_DEVICE_MAX_WORK_GROUP_SIZE, Sizeof.size_t, Pointer.to(cl_uint), null);
int workGroupSize = cl_uint[0];
CLDevice device = new CLDevice(devices[dev],
deviceType, deviceName, computeUnits, workGroupSize);
deviceList.add(device);
}
deviceMap.put(platform, deviceList);