#include <taskGraph.h>
Public Member Functions | |
taskGraphArray (CkVec< CkArrayIndex > deps, taskGraphSolver *data, CkCallback returnResults) | |
taskGraphArray (CkMigrateMessage *m) | |
void | requestData (CkArrayIndex from) |
void | depositData (taskGraphSolver *data) |
void | deleteElement () |
Protected Member Functions | |
void | tryToSolve () |
Protected Attributes | |
taskGraphSolver * | Self |
int | isSolved |
CkVec< CkArrayIndex > | Waiting |
int | DepsCount |
taskGraphSolver ** | DepsData |
int | DepsReceived |
CkCallback | ReturnResults |
Definition at line 110 of file taskGraph.h.
taskGraphArray::taskGraphArray | ( | CkVec< CkArrayIndex > | deps, | |
taskGraphSolver * | data, | |||
CkCallback | returnResults | |||
) |
Definition at line 21 of file taskGraph.C.
References DepsCount, DepsData, DepsReceived, isSolved, CkVec< T >::length(), ReturnResults, Self, ArrayElement::thisArrayID, CkMigratable::thisIndexMax, and tryToSolve().
taskGraphArray::taskGraphArray | ( | CkMigrateMessage * | m | ) | [inline] |
Definition at line 128 of file taskGraph.h.
void taskGraphArray::tryToSolve | ( | ) | [protected] |
Definition at line 47 of file taskGraph.C.
References DepsCount, DepsData, DepsReceived, isSolved, ReturnResults, Self, CkCallback::send(), taskGraphSolver::setup(), CkVec< T >::size(), taskGraphSolver::solve(), ArrayElement::thisArrayID, CkMigratable::thisIndexMax, and Waiting.
Referenced by depositData(), and taskGraphArray().
void taskGraphArray::requestData | ( | CkArrayIndex | from | ) |
Definition at line 69 of file taskGraph.C.
References CkVec< T >::insertAtEnd(), isSolved, Self, ArrayElement::thisArrayID, and Waiting.
void taskGraphArray::depositData | ( | taskGraphSolver * | data | ) |
Definition at line 82 of file taskGraph.C.
References DepsData, DepsReceived, and tryToSolve().
void taskGraphArray::deleteElement | ( | ) |
Definition at line 91 of file taskGraph.C.
References array, ckerr, endl(), CkVec< T >::length(), CkVec< T >::size(), ArrayElement::thisArrayID, and Waiting.
taskGraphSolver* taskGraphArray::Self [protected] |
Definition at line 112 of file taskGraph.h.
Referenced by requestData(), taskGraphArray(), and tryToSolve().
int taskGraphArray::isSolved [protected] |
Definition at line 113 of file taskGraph.h.
Referenced by requestData(), taskGraphArray(), and tryToSolve().
CkVec<CkArrayIndex> taskGraphArray::Waiting [protected] |
Definition at line 114 of file taskGraph.h.
Referenced by deleteElement(), requestData(), and tryToSolve().
int taskGraphArray::DepsCount [protected] |
taskGraphSolver** taskGraphArray::DepsData [protected] |
Definition at line 117 of file taskGraph.h.
Referenced by depositData(), taskGraphArray(), and tryToSolve().
int taskGraphArray::DepsReceived [protected] |
Definition at line 118 of file taskGraph.h.
Referenced by depositData(), taskGraphArray(), and tryToSolve().
CkCallback taskGraphArray::ReturnResults [protected] |