Fixed issue in example for two devices: number of worker per devices is m as the loop distributed accross worker (and not m/2 as it is not splitted)