A polyhedral model nested loop transformation dynamic solving acceleration method

CN116627396BActive Publication Date: 2026-08-28CHONGQING UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310778853.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2026-08-28
Estimated Expiration
2043-06-28

AI Technical Summary

Technical Problem

但是,在求解过程中该方法存在大量重复的循环变换求解和性能预测,这些重复的操作带来不必要的开销

Benefits of technology

[0050]本发明实施例提出的多面体模型嵌套循环变换动态求解加速方法,在探索循环融合/分割方案时,减少重复求解循环变换和性能预测的开销,减少求解时间。并且在因预测性能和实际性能不匹配或循环在后端映射不成功导致需要再次求得新的循环变换时,无需再次从头求解,利用已有信息指导求得新的循环变换,从而最小化后端尝试次数,进一步减少求解时间。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116627396B_ABST
    Figure CN116627396B_ABST
Patent Text Reader

Abstract

The application provides a polyhedral model nested loop transformation dynamic solving acceleration method, comprising the following steps: obtaining a nested loop in a compiling process, and creating a directed acyclic graph (DAG) according to the nested loop; performing topological sorting on the DAG, and converting the DAG into a linear DAG structure; starting searching a loop fusion / partition combination scheme from a first node of the linear DAG structure by using a DP algorithm, and obtaining a loop transformation corresponding to an optimal fusion / partition scheme of the linear DAG; and performing running and mapping attempts on a loop transformation back end, and completing the whole compilation. The method provided by the application obtains the optimal scheme through dynamic solving of the loop fusion / partition scheme, accelerates the solving process of the nested loop transformation, minimizes the number of back end attempts to find the optimized mapping result, and improves the execution efficiency of the nested loop.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Parallel method for accelerating general radar signal processing flow based on CPU

    CN109977497A

  • Adaptive node fusion compiling optimization method based on heterogeneous platform

    CN112527304A