HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pss::internal Namespace Reference

Classes

class  raw_buffer
 Raw memory buffer with automatic cleanup. More...
 
struct  parallel_merge_invoke
 
struct  parallel_stable_sort_aux_invoke
 

Functions

template<class RandomAccessIterator >
void serial_destroy (RandomAccessIterator zs, RandomAccessIterator ze)
 Destroy sequence [xs,xe) More...
 
template<class RandomAccessIterator1 , class RandomAccessIterator2 , class RandomAccessIterator3 , class Compare >
void serial_move_merge (RandomAccessIterator1 xs, RandomAccessIterator1 xe, RandomAccessIterator2 ys, RandomAccessIterator2 ye, RandomAccessIterator3 zs, Compare comp)
 Merge sequences [xs,xe) and [ys,ye) to output sequence [zs,(xe-xs)+(ye-ys)), using std::move. More...
 
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename Compare >
void stable_sort_base_case (RandomAccessIterator1 xs, RandomAccessIterator1 xe, RandomAccessIterator2 zs, int inplace, Compare comp)
 
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename RandomAccessIterator3 , typename Compare >
void parallel_merge (RandomAccessIterator1 xs, RandomAccessIterator1 xe, RandomAccessIterator2 ys, RandomAccessIterator2 ye, RandomAccessIterator3 zs, bool destroy, Compare comp)
 
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename Compare >
void parallel_stable_sort_aux (RandomAccessIterator1 xs, RandomAccessIterator1 xe, RandomAccessIterator2 zs, int inplace, Compare comp)
 

Function Documentation

template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename RandomAccessIterator3 , typename Compare >
void pss::internal::parallel_merge ( RandomAccessIterator1  xs,
RandomAccessIterator1  xe,
RandomAccessIterator2  ys,
RandomAccessIterator2  ye,
RandomAccessIterator3  zs,
bool  destroy,
Compare  comp 
)

Definition at line 1081 of file UT_ParallelUtil.h.

template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename Compare >
void pss::internal::parallel_stable_sort_aux ( RandomAccessIterator1  xs,
RandomAccessIterator1  xe,
RandomAccessIterator2  zs,
int  inplace,
Compare  comp 
)

Definition at line 1126 of file UT_ParallelUtil.h.

template<class RandomAccessIterator >
void pss::internal::serial_destroy ( RandomAccessIterator  zs,
RandomAccessIterator  ze 
)

Destroy sequence [xs,xe)

Definition at line 994 of file UT_ParallelUtil.h.

template<class RandomAccessIterator1 , class RandomAccessIterator2 , class RandomAccessIterator3 , class Compare >
void pss::internal::serial_move_merge ( RandomAccessIterator1  xs,
RandomAccessIterator1  xe,
RandomAccessIterator2  ys,
RandomAccessIterator2  ye,
RandomAccessIterator3  zs,
Compare  comp 
)

Merge sequences [xs,xe) and [ys,ye) to output sequence [zs,(xe-xs)+(ye-ys)), using std::move.

Definition at line 1004 of file UT_ParallelUtil.h.

template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename Compare >
void pss::internal::stable_sort_base_case ( RandomAccessIterator1  xs,
RandomAccessIterator1  xe,
RandomAccessIterator2  zs,
int  inplace,
Compare  comp 
)

Definition at line 1029 of file UT_ParallelUtil.h.