用数组加速循环
Accelerating Loops with Arrays
AI总结:
本文提出了一种新的加速技术,用于处理数组上的循环。通过引入归纳性lvalues的概念,该技术能够处理传统方法无法处理的循环,并通过将标量视为维度为0的数组,统一了数组和标量变量的加速方法。
摘要:
我们提出了一种新的加速技术,用于处理数组上的循环。加速的目标是用一种适合自动推理的逻辑来表征循环的传递闭包。通过引入新的归纳性lvalues概念,我们的技术能够处理以往技术无法处理的循环,并通过将标量视为维度为0的数组,统一了数组和标量变量的加速方法。此外,我们的方法使用λs而不是量词。然后,由此产生的SMT问题可以通过按需使用引理来解决。在工具LoAT中的实验证明了我们方法的有效性。
英文摘要:
We propose a novel acceleration technique for loops operating on arrays. The goal of acceleration is to characterize the transitive closure of loops in a logic which is suitable for automated reasoning. Using the new notion of inductive lvalues, our technique can handle loops where previous techniques fail, and it unifies acceleration for arrays and scalar variables by regarding scalars as arrays of dimension 0. Moreover, our approach uses λs instead of quantifiers. Then the resulting SMT problems can be solved via lemmas on demand. An empirical evaluation of our implementation in the tool LoAT shows the power of our approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。