Grainsize, reduce_sum, reduce_sum_static