<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>前缀和 - 标签 - 集合通信博客</title><link>https://hccl.club/tags/%E5%89%8D%E7%BC%80%E5%92%8C/</link><description>前缀和 - 标签 - 集合通信博客</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Mon, 02 Nov 2026 10:00:00 +0800</lastBuildDate><atom:link href="https://hccl.club/tags/%E5%89%8D%E7%BC%80%E5%92%8C/" rel="self" type="application/rss+xml"/><item><title>Scan 与 ExScan：前缀规约</title><link>https://hccl.club/docs/primitives/scan/</link><pubDate>Mon, 02 Nov 2026 10:00:00 +0800</pubDate><author><name>Innoecho</name></author><guid>https://hccl.club/docs/primitives/scan/</guid><description><![CDATA[<p>AllReduce 给每个人的是&quot;终点的总和&quot;，Scan（前缀规约，即并行前缀和 prefix sum）给每个人的是&quot;走到你这里的沿途累计&quot;。它相当于把 AllReduce 的中间过程完整暴露出来：变长收集前算偏移、分布式计数、流水线全局调度，都是它的主场。</p>]]></description></item></channel></rss>