HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_BlockedRange2D< RowT, ColT > Class Template Reference

#include <UT_ParallelUtil.h>

+ Inheritance diagram for UT_BlockedRange2D< RowT, ColT >:

Public Member Functions

 UT_BlockedRange2D ()=delete
 
 UT_BlockedRange2D (RowT row_begin, RowT row_end, ColT col_begin, ColT col_end, size_t row_grainsize=1, size_t col_grainsize=1)
 NB: The arguments are in a different order than tbb. More...
 
 UT_BlockedRange2D (UT_BlockedRange2D &R, UT_Split split)
 

Detailed Description

template<typename RowT, typename ColT = RowT>
class UT_BlockedRange2D< RowT, ColT >

UT_BlockedRange2D() is a simple wrapper using tbb for its implementation This meets the requirements for a Range object, which are:

  • Range::Range(const Range&);

    Copy constructor
  • Range::~Range();

    Destructor
  • bool Range::is_divisible() const;

    True if the range can be partitioned into two sub-ranges
  • bool Range::empty() const;

    True if the range is empty
  • Range::Range(Range &r, UT_Split) const;

    Split the range r into two sub-ranges (i.e. modify r and *this)

Definition at line 60 of file UT_ParallelUtil.h.

Constructor & Destructor Documentation

template<typename RowT, typename ColT = RowT>
UT_BlockedRange2D< RowT, ColT >::UT_BlockedRange2D ( )
delete
template<typename RowT, typename ColT = RowT>
UT_BlockedRange2D< RowT, ColT >::UT_BlockedRange2D ( RowT  row_begin,
RowT  row_end,
ColT  col_begin,
ColT  col_end,
size_t  row_grainsize = 1,
size_t  col_grainsize = 1 
)
inline

NB: The arguments are in a different order than tbb.

Definition at line 1064 of file UT_ParallelUtil.h.

template<typename RowT, typename ColT = RowT>
UT_BlockedRange2D< RowT, ColT >::UT_BlockedRange2D ( UT_BlockedRange2D< RowT, ColT > &  R,
UT_Split  split 
)
inline

Definition at line 1070 of file UT_ParallelUtil.h.


The documentation for this class was generated from the following file: