Galois::has_deterministic_parallel_break< T > Struct Template Reference

Indicates the operator has a member function that allows a Galois::for_each loop to be exited deterministically. More...

#include <TypeTraits.h>


Detailed Description

template<typename T>
struct Galois::has_deterministic_parallel_break< T >

Indicates the operator has a member function that allows a Galois::for_each loop to be exited deterministically.

The function has the following signature:

  struct T {
    bool galoisDeterministicParallelBreak() {
      // returns true if loop should end
    }
  };

This function will be periodically called by the deterministic scheduler. If it returns true, the loop ends as if calling UserContext::breakLoop, but unlike that function, these breaks are deterministic.


The documentation for this struct was generated from the following file:

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1