omni::graph::exec::unstable::ExecutionVisitWithCacheCheck

Defined in omni/graph/exec/unstable/Executor.h

struct ExecutionVisitWithCacheCheck

Graph traversal visit strategy with dirty cache check.

This strategy will generate a new task when all upstream nodes have been visited and:

  • The node’s state requests compute (i.e. the node has been marked as dirty)

or:

  • An upstream node computed

If neither of the conditions are true, but all parent nodes have been visited, execution continues (via omni::graph::exec::unstable::IExecutor::continueExecute()).

Public Static Functions

template<typename ExecutorInfo>
static inline Status tryVisit(ExecutorInfo info) noexcept

Called when the traversal wants to visit a node. This method determines what to do with the node (e.g. schedule it, defer it, etc).