← 返回事件
持续讨论AI发版

trunk/41226661c72236301fcbf27bce2c6c06d7584af3: [inductor] Don't swing a realized buffer in mutate_to (#198549)

发生了什么

Fixes #198533 Fixes #198033 mutate_to 's fast path replaces the data of the mutated StorageBox with the new value. A realized StorageBox may already be referenced by name: by a ReinterpretView, whose loader looks the name up only when it runs, or by an extern kernel's inputs. Everything lowered before the mutation through those references then reads the new value, including the new value itself. With y = x + x.sum(-…

摘要按规则整理自下方来源原文

为什么在扩散

来源