CubbyFlow::Internal Namespace Reference

Classes

struct  Cubic
 
struct  Cubic< T, N, 1 >
 
struct  DotProduct
 
struct  DotProduct< M1, M2, 0 >
 
struct  FoldWithAnd
 
struct  FoldWithAnd< T, Rows, Cols, BinaryOperation, 0 >
 
struct  ForEachIndex
 
struct  ForEachIndex< IndexType, N, 1 >
 
struct  GetCoordinatesAndGradientWeights
 
struct  GetCoordinatesAndGradientWeights< T, N, 1 >
 
struct  GetCoordinatesAndWeights
 
struct  GetCoordinatesAndWeights< T, N, 1 >
 
struct  GetSizeAndInitVal
 
struct  GetSizeAndInitVal< T, N, 0 >
 
struct  GetSizeFromInitList
 
struct  GetSizeFromInitList< T, N, 1 >
 
struct  Lerp
 
struct  Lerp< T, N, 1 >
 
struct  Reduce
 
struct  Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, 0 >
 
struct  SetArrayFromInitList
 
struct  SetArrayFromInitList< T, N, 1 >
 

Typedefs

template<typename Task >
using future = std::future< Task >
 
template<typename TASK >
using operator_return_t = typename std::invoke_result_t< TASK >
 

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 >
auto Async (TASK &&fn) -> 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

◆ future

template<typename Task >
using CubbyFlow::Internal::future = typedef std::future<Task>

◆ operator_return_t

template<typename TASK >
using CubbyFlow::Internal::operator_return_t = typedef typename std::invoke_result_t<TASK>

Function Documentation

◆ Async()

template<typename TASK >
auto CubbyFlow::Internal::Async ( TASK &&  fn) -> 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 
)

◆ Sign()

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