计算机科学 > 程序设计语言
[提交于 2026年7月13日]
标题:On Thread Convergence
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We introduce a notion of convergence for the nodes and edges of a control-flow graph that captures whether a barrier placed at that location is guaranteed to synchronize all threads of a thread block in every execution. Convergence analysis lets a compiler determine when a barrier lies in a uniformly executed region and therefore avoid the code transformations otherwise required to implement thread-block barriers correctly on warp-synchronous hardware. We formalize convergent nodes, convergent edges, and well-synchronized programs; give two inference rules (a branch rule and a merge rule); and present a linear-time iterative work-list algorithm that propagates convergence information bidirectionally through the flow graph. We then describe refinements that improve precision using single-entry single-exit region information, path information, and thread-variance information.
提交历史
来自:Vinod Grover[v1] 2026年7月13日 星期一 14:53:37 UTC