public static T InclusiveScan <T, TScan>(T value)
     where T : struct
     where TScan : struct, IScanReduceOperation <T> =>
 ILWarpExtensions.InclusiveScan <T, TScan>(value);
示例#2
0
 public static T ExclusiveScan <T, TScan>(T value)
     where T : unmanaged
     where TScan : struct, IScanReduceOperation <T> =>
 ILWarpExtensions.ExclusiveScan <T, TScan>(value);
 public static T AllReduce <T, TReduction>(T value)
     where T : struct
     where TReduction : IScanReduceOperation <T> =>
 ILWarpExtensions.AllReduce <T, TReduction>(value);
示例#4
0
 public static T Reduce <T, TReduction>(T value)
     where T : unmanaged
     where TReduction : IScanReduceOperation <T> =>
 ILWarpExtensions.Reduce <T, TReduction>(value);