464b99373b
This change adds fixes in optimized multistream path for childGraph uses cases. 1) For childgraph nodes, rely on runNodes() only to process the childgraph and skip calls to createCommand and enqueueCommands. This ensures that the start/end markers are enqueued correctly with respect to the childGraph commands. In addition, the runNodes() for the childgraph should be called after the dependency walkthrough to make sure that the subgraph is executed once. 2) Nodes with no outgoing edges should be marked as a leafs regardless of which stream they are assigned to. This is to ensure that marker dependencies from nodes that run on non-zero stream to subgraph leafs that run on zero stream are still set up correctly. Change-Id: I4a5f4f3b0e0d01e515cdcb045b46c2798f291255