﻿Allreduce Method

[This is preliminary documentation and is subject to change.]

# Overload List

NameDescription
Allreduce<(Of <(T>)>)(T, ReductionOperation<(Of <(T>)>))
Allreducec> is a collective algorithm that combines the values stored by each process into a single value available to all processes. The values are combined in a user-defined way, specified via a delegate. If value1, value2, ..., valueN are the values provided by the N processes in the communicator, the result will be the value value1 op value2 op ... op valueN. An Allreduce is equivalent to a Reduce<(Of <(T>)>)(T, ReductionOperation<(Of <(T>)>), Int32) followed by a Broadcast<(Of <(T>)>)(T%, Int32).
(Inherited from Communicator.)
Allreduce<(Of <(T>)>)(array<T>[]()[], ReductionOperation<(Of <(T>)>))
Allreducec> is a collective algorithm that combines the values stored by each process into a single value available to all processes. The values are combined in a user-defined way, specified via a delegate. When provided with arrays, Allreduce combines the ith value of each of the arrays passed to each process. Thus, Allreduce on arrays is the same as calling Allreduce<(Of <(T>)>)(T, ReductionOperation<(Of <(T>)>)) for each inValues[i]. An Allreduce is equivalent to a Reduce<(Of <(T>)>)(array<T>[]()[], ReductionOperation<(Of <(T>)>), Int32, array<T>[]()[]%) followed by a Broadcast<(Of <(T>)>)(array<T>[]()[]%, Int32).
(Inherited from Communicator.)
Allreduce<(Of <(T>)>)(array<T>[]()[], ReductionOperation<(Of <(T>)>), array<T>[]()[]%)
Allreducec> is a collective algorithm that combines the values stored by each process into a single value available to all processes. The values are combined in a user-defined way, specified via a delegate. When provided with arrays, Allreduce combines the ith value of each of the arrays passed to each process. Thus, Allreduce on arrays is the same as calling Allreduce<(Of <(T>)>)(T, ReductionOperation<(Of <(T>)>)) for each inValues[i]. An Allreduce is equivalent to a Reduce<(Of <(T>)>)(array<T>[]()[], ReductionOperation<(Of <(T>)>), Int32, array<T>[]()[]%) followed by a Broadcast<(Of <(T>)>)(array<T>[]()[]%, Int32).
(Inherited from Communicator.)