TypeTraits.h File Reference

Galois type traits -*- C++ -*-. More...

#include <boost/mpl/has_xxx.hpp>

Go to the source code of this file.

Classes

struct  Galois::needs_parallel_break< T >
 Indicates the operator may request the parallel loop to be suspended and a given function run in serial. More...
struct  Galois::does_not_need_push< T >
 Indicates the operator does not generate new work and push it on the worklist. More...
struct  Galois::needs_per_iter_alloc< T >
 Indicates the operator may request the access to a per-iteration allocator. More...
struct  Galois::does_not_need_stats< T >
 Indicates the operator doesn't need its execution stats recorded. More...
struct  Galois::does_not_need_aborts< T >
 Indicates the operator doesn't need abort support. More...
struct  Galois::has_fixed_neighborhood< T >
 Indicates that the neighborhood set does not change through out i.e. More...

Namespaces

namespace  Galois
 

Main Galois namespace.



Detailed Description

Galois type traits -*- C++ -*-.

License

Galois, a framework to exploit amorphous data-parallelism in irregular programs.

Copyright (C) 2011, 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.

Description

There are two ways to declare a typetrait. First, with a typedef or other valid name declaration:

 struct MyClass {
   typedef int tt_needs_parallel_break;
   ....
 };

The second way is by specializing a function:

 namespace Galois {
   template<>
   struct needs_parallel_break<MyClass> : public boost::true_type {};
 }
Author:
Andrew Lenharth <andrewl@lenharth.org>

Generated on 12 Apr 2013 for Galois by  doxygen 1.6.1