CubbyFlow::Internal Namespace Reference

Typedefs

template<typename TASK >
using operator_return_t = typename std::result_of< TASK()>::type
 

Functions

template<typename T >
Sign (T a, T b)
 
template<typename T >
Pythag (T a, T b)
 
template<typename BlasType >
MGResult MGVCycle (const MGMatrix< BlasType > &A, MGParameters< BlasType > params, unsigned int currentLevel, MGVector< BlasType > *x, MGVector< BlasType > *b, MGVector< BlasType > *buffer)
 
template<typename TASK >
void Schedule (TASK &&fn)
 
template<typename TASK >
auto Async (TASK &&fn) -> std::future< operator_return_t< TASK >>
 
template<typename RandomIterator , typename RandomIterator2 , typename CompareFunction >
void Merge (RandomIterator a, size_t size, RandomIterator2 temp, CompareFunction compareFunction)
 
template<typename RandomIterator , typename RandomIterator2 , typename CompareFunction >
void ParallelMergeSort (RandomIterator a, size_t size, RandomIterator2 temp, unsigned int numThreads, CompareFunction compareFunction)
 

Typedef Documentation

◆ operator_return_t

template<typename TASK >
using CubbyFlow::Internal::operator_return_t = typedef typename std::result_of<TASK()>::type

Function Documentation

◆ Async()

template<typename TASK >
auto CubbyFlow::Internal::Async ( TASK &&  fn) -> std::future<operator_return_t<TASK>>
inline

◆ Merge()

template<typename RandomIterator , typename RandomIterator2 , typename CompareFunction >
void CubbyFlow::Internal::Merge ( RandomIterator  a,
size_t  size,
RandomIterator2  temp,
CompareFunction  compareFunction 
)

◆ MGVCycle()

template<typename BlasType >
MGResult CubbyFlow::Internal::MGVCycle ( const MGMatrix< BlasType > &  A,
MGParameters< BlasType >  params,
unsigned int  currentLevel,
MGVector< BlasType > *  x,
MGVector< BlasType > *  b,
MGVector< BlasType > *  buffer 
)

◆ ParallelMergeSort()

template<typename RandomIterator , typename RandomIterator2 , typename CompareFunction >
void CubbyFlow::Internal::ParallelMergeSort ( RandomIterator  a,
size_t  size,
RandomIterator2  temp,
unsigned int  numThreads,
CompareFunction  compareFunction 
)

◆ Pythag()

template<typename T >
T CubbyFlow::Internal::Pythag ( a,
b 
)
inline

◆ Schedule()

template<typename TASK >
void CubbyFlow::Internal::Schedule ( TASK &&  fn)
inline

◆ Sign()

template<typename T >
T CubbyFlow::Internal::Sign ( a,
b 
)
inline