#include <PDGE_Resolutions.h>
|
| PDGE_Resolutions (bool defer_heavy=true) |
|
| PDGE_Resolutions (PDGE_Resolutions &&array) |
|
PDGE_Resolutions & | operator= (PDGE_Resolutions &&other) |
|
int64 | getMemoryUsage (bool inclusive) const |
| Returns the memory usage of this object. More...
|
|
void | clearAll () |
|
void | clearPartials () |
| Clears only partial resolutions from the array. More...
|
|
void | concat (const PDGE_Resolutions &resolutions) |
|
exint | numResolves () const |
| Returns the number of full resolutions in the array. More...
|
|
exint | numPartials () const |
| Returns the number of partial resolutions in the array. More...
|
|
bool | isSerial () const |
|
void | addResolve (PDGE_Dependency *dependency) |
| Adds a new dependency to the list of full resolutions. More...
|
|
bool | addPartial (PDGE_Dependency *dependency, const PDGE_DependencyOwner::Array &owners, bool ascending=true, bool serial=false) |
|
bool | addPartial (PDGE_Dependency *dependency, PDGE_DependencyOwner *owner, bool ascending=true, bool serial=false) |
| Same as above, but with a single owner argument for convenience. More...
|
|
template<typename T > |
bool | addPartial (PDGE_Dependency *dependency, const UT_Array< T > &owners, bool ascending=true, bool serial=false) |
| Save as above, but with an arbitrarily typed array. More...
|
|
void | evaluateResolves (const UT_BlockedRange< int64 > &range, PDGE_Evaluator &evaluator, PDGE_Resolutions &resolutions, PDGE_Resolutions &deferred) const |
|
void | evaluatePartials (const UT_BlockedRange< int64 > &range, PDGE_Evaluator &evaluator, PDGE_Resolutions &resolutions) const |
|
Definition at line 28 of file PDGE_Resolutions.h.
PDGE_Resolutions::PDGE_Resolutions |
( |
bool |
defer_heavy = true | ) |
|
|
inline |
Adds a new dependency to the list of partial resolutions, along with the owner argument associated with the partial resolution.
Same as above, but with a single owner argument for convenience.
template<typename T >
bool PDGE_Resolutions::addPartial |
( |
PDGE_Dependency * |
dependency, |
|
|
const UT_Array< T > & |
owners, |
|
|
bool |
ascending = true , |
|
|
bool |
serial = false |
|
) |
| |
|
inline |
Adds a new dependency to the list of full resolutions.
Definition at line 103 of file PDGE_Resolutions.h.
void PDGE_Resolutions::clearAll |
( |
| ) |
|
|
inline |
Clears all exisiting resolutions from the array, including both partial and full resolves.
Definition at line 64 of file PDGE_Resolutions.h.
void PDGE_Resolutions::clearPartials |
( |
| ) |
|
|
inline |
Concats the contents of the specificed resolutions with the ones in this array. No deduplication is performed.
Definition at line 80 of file PDGE_Resolutions.h.
Evaluates all partial resolutions and stores new resolutions into the supplied array. This function should be called from a UTparalleReduce.
Evaluates all full resolutions in the array. This function should be called from a UTparallelFor.
int64 PDGE_Resolutions::getMemoryUsage |
( |
bool |
inclusive | ) |
const |
Returns the memory usage of this object.
bool PDGE_Resolutions::isSerial |
( |
| ) |
const |
|
inline |
Returns true if partial evaluation should be performed in serial instead of in parallel
Definition at line 98 of file PDGE_Resolutions.h.
exint PDGE_Resolutions::numPartials |
( |
| ) |
const |
|
inline |
Returns the number of partial resolutions in the array.
Definition at line 93 of file PDGE_Resolutions.h.
exint PDGE_Resolutions::numResolves |
( |
| ) |
const |
|
inline |
Returns the number of full resolutions in the array.
Definition at line 89 of file PDGE_Resolutions.h.
The documentation for this class was generated from the following file: