计算机科学 > 程序设计语言
[提交于 2026年3月10日]
标题:Fully Symbolic Analysis of Loop Locality: Using Imaginary Reuse to Infer Real Performance
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:This paper presents a new theory of locality and its compiler support. The theory is fully symbolic and derives locality as polynomials, and the compiler analysis supports affine loop nests. They derive cache-performance scaling in quadratic and reciprocal expressions and are more general and precise than empirical scaling rules. Evaluated on a benchmark suite of 41 scientific kernels and tensor operations, the compiler requires an average of 41 seconds to derive the locality polynomials. After derivation, predicting the cache miss count for any given input size and cache configuration takes less than a millisecond. Across all tests--with and without loop fusion--the accuracy in the data movement prediction is 99.6\%, compared to simulated set-associative L1 data cache.
提交历史
来自:Yifan Zhu[v1] 2026年3月10日 星期二 19:51:31 UTC