Class Communicator
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public static class Communicator
Fields
AlltoallSubarraysTimingInfos
Declaration
public static Dictionary<string, Communicator.TimingInfo> AlltoallSubarraysTimingInfos
Field Value
MultiplyAllTimingInfos
Declaration
public static Dictionary<string, Communicator.TimingInfo> MultiplyAllTimingInfos
Field Value
Methods
AlltoallSubarrays<T>(ICommunicator, IList<T>, ICollection<Int32>[], IList<T>, ICollection<Int32>[])
Declaration
public static void AlltoallSubarrays<T>(ICommunicator comm, IList<T> inputArray, ICollection<int>[] indicesToSend, IList<T> outputArray, ICollection<int>[] indicesToReceive)
Parameters
Type Parameters
AlltoallSubarrays<T>(ICommunicator, IList<T>, IList<Int32>[], IList<Int32>[])
Declaration
public static void AlltoallSubarrays<T>(ICommunicator comm, IList<T> array, IList<int>[] indicesToSend, IList<int>[] indicesToReceive)
Parameters
Type Parameters
AlltoallSubarrays<T>(ICommunicator, IReadOnlyList<T>, ICollection<Int32>[], IList<T>, ICollection<Int32>[])
Declaration
public static void AlltoallSubarrays<T>(ICommunicator comm, IReadOnlyList<T> inputArray, ICollection<int>[] indicesToSend, IList<T> outputArray, ICollection<int>[] indicesToReceive)
Parameters
Type Parameters
AlltoallSubarrays2<T>(ICommunicator, IReadOnlyList<T>, ICollection<Int32>[], IList<T>, ICollection<Int32>[])
Does not work with BinaryFormatter.
Declaration
public static void AlltoallSubarrays2<T>(ICommunicator comm, IReadOnlyList<T> inputArray, ICollection<int>[] indicesToSend, IList<T> outputArray, ICollection<int>[] indicesToReceive)
Parameters
Type Parameters
GetTimingString()
Declaration
public static string GetTimingString()
Returns
MultiplyAll<T>(ICommunicator, T)
Declaration
public static T MultiplyAll<T>(ICommunicator comm, T value)
where T : ICloneable, SettableToProduct<T>
Parameters
Returns
Type Parameters
ReceiveSubarrays<T>(ICommunicator, Int32, IList<T>, Int32[][])
Declaration
public static void ReceiveSubarrays<T>(ICommunicator comm, int tag, IList<T> array, int[][] indices)
Parameters
Type Parameters
SendSubarrays<T>(ICommunicator, Int32, IReadOnlyList<T>, Int32[][])
Declaration
public static IReadOnlyList<ICommunicatorRequest> SendSubarrays<T>(ICommunicator comm, int tag, IReadOnlyList<T> array, int[][] indices)
Parameters
Returns
Type Parameters
TestAny(List<ICommunicatorRequest>)
Determines whether any request has completed. If so, that request will be removed
from the request list and returned.
Declaration
public static ICommunicatorRequest TestAny(List<ICommunicatorRequest> requests)
Parameters
Returns
Type |
Description |
ICommunicatorRequest |
The first request that has completed, if any. Otherwise, returns null to
indicate that no request has completed.
|
Wait(IEnumerable<ICommunicatorRequest>)
Declaration
public static void Wait(IEnumerable<ICommunicatorRequest> requests)
Parameters
WaitAny(List<ICommunicatorRequest>)
Waits until any request has completed. That request will then be removed
from the request list and returned.
Declaration
public static ICommunicatorRequest WaitAny(List<ICommunicatorRequest> requests)
Parameters
Returns
Type |
Description |
ICommunicatorRequest |
The completed request, which has been removed from the request list.
|