Skip to content

Commit

Permalink
add codes
Browse files Browse the repository at this point in the history
  • Loading branch information
JackTan25 authored and PsiACE committed Sep 23, 2023
1 parent e3c8419 commit 32e276c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ pub struct UpdateListMutable {
// 为target_node的input_port添加一个trigger
updated_triggers: Vec<Arc<UnsafeCell<UpdateTrigger>>>,
}

// 用于判断调度前驱node还是后驱node
pub enum DirectedEdge {
Source(EdgeIndex),
Target(EdgeIndex),
}

// trigger的作用就是用来后面调度模型推进pipeline向下
// 执行调度任务使用的
pub struct UpdateTrigger {
Expand Down

0 comments on commit 32e276c

Please sign in to comment.