Maybe, although all that would happen is that we would implement sum_globals as above (since globals are always valid on cpu after par_loops, but not necessarily gpu)