| 51 | } |
| 52 | |
| 53 | void PropagatorState::ActivateRoots(gtl::ArraySlice<const NodeItem*> roots, |
| 54 | TaggedNodeSeq* ready) { |
| 55 | mutex_lock l(root_frame_->mu); |
| 56 | IterationState* root_iter = root_frame_->GetIteration(0); |
| 57 | for (const NodeItem* item : roots) { |
| 58 | DCHECK_EQ(item->num_inputs, 0); |
| 59 | ready->emplace_back(item, root_frame_, root_iter, false); |
| 60 | } |
| 61 | root_iter->outstanding_ops = ready->size(); |
| 62 | } |
| 63 | |
| 64 | void PropagatorState::PropagateOutputs(const TaggedNode& tagged_node, |
| 65 | EntryVector* outputs, |
no test coverage detected