Simple STL style algorithms -*- C++ -*-. More...
#include <algorithm>
#include <iterator>
#include <utility>
Go to the source code of this file.
Namespaces | |
namespace | Galois |
Main Galois namespace. | |
Functions | |
template<typename IterTy , class Distance > | |
IterTy | Galois::safe_advance_dispatch (IterTy b, IterTy e, Distance n, std::random_access_iterator_tag) |
template<typename IterTy , class Distance > | |
IterTy | Galois::safe_advance_dispatch (IterTy b, IterTy e, Distance n, std::input_iterator_tag) |
template<typename IterTy , class Distance > | |
IterTy | Galois::safe_advance (IterTy b, IterTy e, Distance n) |
Like std::advance but returns end if end is closer than the advance amount. | |
template<typename IterTy > | |
IterTy | Galois::split_range (IterTy b, IterTy e) |
Finds the midpoint of a range. | |
template<typename IterTy > | |
std::pair< IterTy, IterTy > | Galois::block_range (IterTy b, IterTy e, unsigned id, unsigned num) |
Returns a continuous block from the range based on the number of divisions and the id of the block requested. | |
template<class InputIterator > | |
void | Galois::uninitialized_destroy (InputIterator first, InputIterator last) |
Destroy a range. |
Simple STL style algorithms -*- C++ -*-.
Galois, a framework to exploit amorphous data-parallelism in irregular programs.
Copyright (C) 2012, The University of Texas at Austin. All rights reserved. UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, NON-INFRINGEMENT AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY THAT MIGHT OTHERWISE ARISE FROM COURSE OF DEALING OR USAGE OF TRADE. NO WARRANTY IS EITHER EXPRESS OR IMPLIED WITH RESPECT TO THE USE OF THE SOFTWARE OR DOCUMENTATION. Under no circumstances shall University be liable for incidental, special, indirect, direct or consequential damages or loss of profits, interruption of business, or related expenses which may arise from use of Software or Documentation, including but not limited to those resulting from defects in Software and/or Documentation, or loss or inaccuracy of data of any kind.