Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loops.h File Reference

Go to the source code of this file.

Classes

struct  galois::DoAll
 Helper functor class to invoke galois::do_all on provided args Can be used to choose between galois::do_all and other equivalents such as std::for_each. More...
 
struct  galois::StdForEach
 Helper functor to invoke std::for_each with the same interface as galois::do_all. More...
 
struct  galois::ForEach
 
struct  galois::WhileQ< Q >
 

Namespaces

 galois
 The Galois namespace containing all Galois structures and functions.
 

Functions

template<typename RangeFunc , typename FunctionTy , typename... Args>
void galois::for_each (const RangeFunc &rangeMaker, FunctionTy &&fn, const Args &...args)
 Galois unordered set iterator. More...
 
template<typename RangeFunc , typename FunctionTy , typename... Args>
void galois::do_all (const RangeFunc &rangeMaker, FunctionTy &&fn, const Args &...args)
 Standard do-all loop. More...
 
template<typename FunctionTy , typename... Args>
void galois::on_each (FunctionTy &&fn, const Args &...args)
 Low-level parallel loop. More...
 
template<typename Iter , typename Cmp , typename NhFunc , typename OpFunc >
void galois::for_each_ordered (Iter b, Iter e, const Cmp &cmp, const NhFunc &nhFunc, const OpFunc &fn, const char *loopname=0)
 Galois ordered set iterator for stable source algorithms. More...
 
template<typename Iter , typename Cmp , typename NhFunc , typename OpFunc , typename StableTest >
void galois::for_each_ordered (Iter b, Iter e, const Cmp &cmp, const NhFunc &nhFunc, const OpFunc &fn, const StableTest &stabilityTest, const char *loopname=0)
 Galois ordered set iterator for unstable source algorithms. More...