|
Galois
|
Backdoor to allow runtime methods to access private data in UserContext. More...
#include <UserContextAccess.h>
Public Types | |
| typedef galois::UserContext< T > | SuperTy |
| typedef SuperTy::PushBufferTy | PushBufferTy |
| typedef SuperTy::FastPushBack | FastPushBack |
Public Member Functions | |
| void | resetAlloc () |
| PushBufferTy & | getPushBuffer () |
| void | resetPushBuffer () |
| SuperTy & | data () |
| void | setLocalState (void *p) |
| void | setFastPushBack (FastPushBack f) |
| void | setBreakFlag (bool *b) |
| void | setFirstPass (void) |
| void | resetFirstPass (void) |
Public Member Functions inherited from galois::UserContext< T > | |
| UserContext () | |
| void | breakLoop () |
| Signal break in parallel loop, current iteration continues untill natural termination. More... | |
| PerIterAllocTy & | getPerIterAlloc () |
| Acquire a per-iteration allocator. More... | |
| template<typename... Args> | |
| void | push (Args &&...args) |
| Push new work. More... | |
| template<typename... Args> | |
| void | push_back (Args &&...args) |
| Push new work. More... | |
| template<typename... Args> | |
| void | insert (Args &&...args) |
| Push new work. More... | |
| void | abort () |
| Force the abort of this iteration. More... | |
| template<typename LS > | |
| LS * | getLocalState (void) |
| Store and retrieve local state for deterministic. More... | |
| template<typename LS , typename... Args> | |
| LS * | createLocalState (Args &&...args) |
| bool | isFirstPass (void) const |
| used by deterministic and ordered More... | |
| void | cautiousPoint () |
| declare that the operator has crossed the cautious point. More... | |
Additional Inherited Members | |
Protected Types inherited from galois::UserContext< T > | |
| typedef gdeque< T > | PushBufferTy |
| push stuff More... | |
| typedef std::function< void(PushBufferTy &)> | FastPushBack |
Protected Member Functions inherited from galois::UserContext< T > | |
| void | __resetAlloc () |
| void | __setFirstPass (void) |
| void | __resetFirstPass (void) |
| PushBufferTy & | __getPushBuffer () |
| void | __resetPushBuffer () |
| void | __setLocalState (void *p) |
| void | __setFastPushBack (FastPushBack f) |
Protected Attributes inherited from galois::UserContext< T > | |
| PushBufferTy | pushBuffer |
| IterAllocBaseTy | IterationAllocatorBase |
| Allocator stuff. More... | |
| PerIterAllocTy | PerIterationAllocator |
| bool * | didBreak = nullptr |
| used by all More... | |
| FastPushBack | fastPushBack |
| bool | firstPassFlag = false |
| some flags used by deterministic More... | |
| void * | localState = nullptr |
Static Protected Attributes inherited from galois::UserContext< T > | |
| static const unsigned int | fastPushBackLimit = 64 |
Backdoor to allow runtime methods to access private data in UserContext.
| typedef SuperTy::FastPushBack galois::runtime::UserContextAccess< T >::FastPushBack |
| typedef SuperTy::PushBufferTy galois::runtime::UserContextAccess< T >::PushBufferTy |
| typedef galois::UserContext<T> galois::runtime::UserContextAccess< T >::SuperTy |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |