知识卡片
模板计算依赖固定邻域
模板计算中,每个数组位置依赖预先固定的邻近位置;例如最长公共子序列的表格项依赖左、上、左上。
并行执行必须先满足这些前驱依赖,固定模板本身不表示所有格子可同时算。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第26章 并行算法 · 查看原书依据
The pattern of neighboring entries does not change during the computation and is called a stencil. For example, Section 14.4 presents a stencil algorithm to compute a longest common subsequence, where the value in entry c[i, j]
参考来源
- 位置:《算法导论(第4版)》第26章《并行算法》(OEBPS/chapter026.xhtml,文本字符[90000,95000))。
- 结论依据:原文定义或分析相应的并行结构、复杂度及约束条件;内容补充了使用边界。
- 原始内容:The pattern of neighboring entries does not change during the computation and is called a stencil . For example, Section 14.4 presents a stencil algorithm to compute a longest common subsequence, where the value in entry c [ i , j ]