umd/core/src/compiler/engine-ast/EngineGraph.cpp
NvDlaError engine_ast::Graph::resolveComputeDependencies(const NodeSequence& allNodes)
{
    NvDlaError e = NvDlaSuccess;
    for (NodeSequence::const_iterator ni = allNodes.begin(); ni != allNodes.end(); ++ni)
    {
        PROPAGATE_ERROR_FAIL((*ni)->resolveComputeDependencies(allNodes));
    }

fail:
    return e;
}
/*---------------------------Resolve Compute Dependencies--------------*/
/* The current version of the firmware needs chaining of operations of the same type so
 * that it can schedule them one after the other. Hence connect 2 ops of the same type in the
 * causal/ordered list of nodes as a producer-consumer pair
 */
Resolve Compute Dependencies
The current version of the firmware needs chaining of operations of the same type so
that it can schedule them one after the other. Hence connect 2 ops of the same type in the
causal/ordered list of nodes as a producer-consumer pair
Resolve Compute Dependencies The current version of the firmware needs chaining of operations of the same type so that it can schedule them one after the other . Hence connect 2 ops of the same type in the causal / ordered list of nodes as a producer - consumer pair
NvDlaError engine_ast::Graph::resolveComputeDependencies(const NodeSequence& allNodes)
{
    NvDlaError e = NvDlaSuccess;
    for (NodeSequence::const_iterator ni = allNodes.begin(); ni != allNodes.end(); ++ni)
    {
        PROPAGATE_ERROR_FAIL((*ni)->resolveComputeDependencies(allNodes));
    }
fail:
    return e;
}
NvDlaError engine_ast :: Graph :: resolveComputeDependencies ( const NodeSequence & allNodes ) { NvDlaError e = NvDlaSuccess ; for ( NodeSequence :: const_iterator ni = allNodes . begin ( ) ; ni != allNodes . end ( ) ; ++ ni ) { PROPAGATE_ERROR_FAIL ( ( * ni ) -> resolveComputeDependencies ( allNodes ) ) ; } fail : return e ; }
Resolve Compute Dependencies
The current version of the firmware needs chaining of operations of the same type so
 that it can schedule them one after the other.
Resolve Compute Dependencies The current version of the firmware needs chaining of operations of the same type so that it can schedule them one after the other .