Static Public Member Functions

oned::Uniform< T, Pr > Class Template Reference

Cuts prefix sum array into p fixed and equal length parts where p is the processor number. More...

#include <oned/uniform.hpp>


Detailed Description

template<typename T, typename Pr>
class oned::Uniform< T, Pr >

Cuts prefix sum array into p fixed and equal length parts where p is the processor number.

List of all members.

Static Public Member Functions

static T uni_cut (int procCount, const Pr &prefixSumArray, int length, int *cutIndexes, T max)
 Cuts prefix sum array into p fixed and equal length parts where p is the processor number.

Member Function Documentation

template<typename T , typename Pr >
T oned::Uniform< T, Pr >::uni_cut ( int  procCount,
const Pr prefixSumArray,
int  length,
int *  cutIndexes,
T  max 
) [static]

Cuts prefix sum array into p fixed and equal length parts where p is the processor number.

Parameters:
[in] procCount is the number of processors
[in] prefixSumArray Prefix sum array that always starts with value 0 in the 0th
[in] length is the length of prefixSumArray
[out] cutIndexes 
[in] max is the load of the most loaded cell of the array (-1 if unknown). Unused in this algorithm.
Returns:
maximum loaded processor's load

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines