IterationUtils.hpp File Reference

Go to the source code of this file.

Classes

struct  CubbyFlow::GetUnroll< ReturnType, N >
 
struct  CubbyFlow::GetUnroll< ReturnType, 1 >
 
struct  CubbyFlow::GetUnroll< void, 1 >
 
struct  CubbyFlow::GetUnroll< ReturnType, 2 >
 
struct  CubbyFlow::GetUnroll< void, 2 >
 
struct  CubbyFlow::GetUnroll< ReturnType, 3 >
 
struct  CubbyFlow::GetUnroll< void, 3 >
 

Namespaces

 CubbyFlow
 

Functions

template<typename IndexType , size_t N, typename Func >
void CubbyFlow::ForEachIndex (const Vector< IndexType, N > &begin, const Vector< IndexType, N > &end, const Func &func)
 
template<typename IndexType , typename Func >
void CubbyFlow::ForEachIndex (const Vector< IndexType, 1 > &begin, const Vector< IndexType, 1 > &end, const Func &func)
 
template<typename IndexType , typename Func >
void CubbyFlow::ForEachIndex (IndexType begin, IndexType end, const Func &func)
 
template<typename IndexType , size_t N, typename Func >
void CubbyFlow::ForEachIndex (const Vector< IndexType, N > &size, const Func &func)
 
template<typename IndexType , typename Func >
void CubbyFlow::ForEachIndex (const Vector< IndexType, 1 > &size, const Func &func)
 
template<typename IndexType , typename Func >
void CubbyFlow::ForEachIndex (IndexType size, const Func &func)
 
template<typename IndexType , size_t N, typename Func >
void CubbyFlow::ParallelForEachIndex (const Vector< IndexType, N > &begin, const Vector< IndexType, N > &end, const Func &func, ExecutionPolicy policy)
 
template<typename IndexType , typename Func >
void CubbyFlow::ParallelForEachIndex (const Vector< IndexType, 1 > &begin, const Vector< IndexType, 1 > &end, const Func &func, ExecutionPolicy policy)
 
template<typename IndexType , typename Func >
void CubbyFlow::ParallelForEachIndex (IndexType begin, IndexType end, const Func &func, ExecutionPolicy policy)
 
template<typename IndexType , size_t N, typename Func >
void CubbyFlow::ParallelForEachIndex (const Vector< IndexType, N > &size, const Func &func, ExecutionPolicy policy)
 
template<typename IndexType , typename Func >
void CubbyFlow::ParallelForEachIndex (const Vector< IndexType, 1 > &size, const Func &func, ExecutionPolicy policy)
 
template<typename IndexType , typename Func >
void CubbyFlow::ParallelForEachIndex (IndexType size, const Func &func, ExecutionPolicy policy)
 
template<typename ReturnType >
std::function< ReturnType(size_t)> CubbyFlow::Unroll1 (const std::function< ReturnType(const Vector1UZ &)> &func)
 Unrolls vector-based indexing to size_t-based function. More...
 
template<typename ReturnType >
std::function< ReturnType(size_t, size_t)> CubbyFlow::Unroll2 (const std::function< ReturnType(const Vector2UZ &)> &func)
 Unrolls vector-based indexing to size_t-based function. More...
 
template<typename ReturnType >
std::function< ReturnType(size_t, size_t, size_t)> CubbyFlow::Unroll3 (const std::function< ReturnType(const Vector3UZ &)> &func)
 Unrolls vector-based DataPositionFunc indexing to size_t-based function. More...