#include <TiledExecutor.h>
|
| Fixed2DGraphTiledExecutor (Graph &g, int cutoff=0) |
|
| ~Fixed2DGraphTiledExecutor () |
| Report the number of probe block failures to statistics. More...
|
|
template<typename Function > |
void | execute (iterator firstX, iterator lastX, iterator firstY, iterator lastY, size_t sizeX, size_t sizeY, Function fn, bool _useLocks, unsigned numIterations=1) |
| Execute a function on a provided X set of nodes and Y set of nodes for a certain number of iterations. More...
|
|
template<typename Function > |
void | executeDense (iterator firstX, iterator lastX, iterator firstY, iterator lastY, size_t sizeX, size_t sizeY, Function fn, bool _useLocks, int numIterations=1) |
| Execute a function on a provided X set of nodes and Y set of nodes for a certain number of iterations. More...
|
|
template<typename Graph , bool UseExp = false>
template<typename Graph , bool UseExp = false>
Report the number of probe block failures to statistics.
template<typename Graph , bool UseExp = false>
template<typename Function >
void galois::runtime::Fixed2DGraphTiledExecutor< Graph, UseExp >::execute |
( |
iterator |
firstX, |
|
|
iterator |
lastX, |
|
|
iterator |
firstY, |
|
|
iterator |
lastY, |
|
|
size_t |
sizeX, |
|
|
size_t |
sizeY, |
|
|
Function |
fn, |
|
|
bool |
_useLocks, |
|
|
unsigned |
numIterations = 1 |
|
) |
| |
|
inline |
Execute a function on a provided X set of nodes and Y set of nodes for a certain number of iterations.
Only update nodes x and y if an edge exists between them (sparse).
- Template Parameters
-
- Parameters
-
firstX | first element in X dimension |
lastX | last element (non inclusive) in X dimension |
firstY | first element in Y dimension |
lastY | last element (non inclusive) in Y dimension |
sizeX | desired size of blocks in X dimension |
sizeY | desired size of blocks in Y dimension |
fn | Function used to update nodes |
_useLocks | true if locks are desired when updating blocks |
numIterations | Max number of iterations to run each block in the tiled executor for |
template<typename Graph , bool UseExp = false>
template<typename Function >
void galois::runtime::Fixed2DGraphTiledExecutor< Graph, UseExp >::executeDense |
( |
iterator |
firstX, |
|
|
iterator |
lastX, |
|
|
iterator |
firstY, |
|
|
iterator |
lastY, |
|
|
size_t |
sizeX, |
|
|
size_t |
sizeY, |
|
|
Function |
fn, |
|
|
bool |
_useLocks, |
|
|
int |
numIterations = 1 |
|
) |
| |
|
inline |
Execute a function on a provided X set of nodes and Y set of nodes for a certain number of iterations.
Updates nodes x and y regardless of whether or not an edge exists between them (dense).
- Template Parameters
-
- Parameters
-
firstX | first element in X dimension |
lastX | last element (non inclusive) in X dimension |
firstY | first element in Y dimension |
lastY | last element (non inclusive) in Y dimension |
sizeX | desired size of blocks in X dimension |
sizeY | desired size of blocks in Y dimension |
fn | Function used to update nodes |
_useLocks | true if locks are desired when updating blocks |
numIterations | Max number of iterations to run each block in the tiled executor for |
The documentation for this class was generated from the following file: