bgdallreduce and topology synchronization on allreducers