全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...

改进启发式算法求解PISA架构芯片资源排布问题
Improved Heuristic Algorithm to Solve Resource Allocation Problem of PISA Architecture Chip

DOI: 10.12677/ORF.2024.141007, PP. 73-82

Keywords: 资源排布,单目标规划,基于规则的启发式算法,近似单调队列,分治算法
Resource Arrangement
, Single-Objective Programming, Rule-Based Heuristics Algorithm, Approximate Monotonic Queues, Divide and Conquer Algorithm

Full-Text   Cite this paper   Add to My Lib

Abstract:

在PISA架构设计时,为减少连线复杂度,往往对流水线各级资源以及各级流水线资源有多种多样约束,研究高资源利用率的资源排布算法对编译器设计尤为重要。论文从资源排布的PISA架构资源约束、流图中基本块约束出发,建立单目标整数规划模型,设计并改进启发式算法并设计近似单调队列求解模型。实验结果表明改进的启发式算法有效降低PISA资源排布方案的复杂度的同时提升了资源利用率。针对两个具体的资源排布问题,给出最小流水层数为59级与35级的资源排布方案,相比基于规则的启发式算法分别降低了21层与15层,验证了算法的有效性与稳定性。
In the design of PISA architecture, in order to reduce the complexity of connections, there are often various constraints on the resources at all levels of the pipeline, as well as on the resources at all levels of the pipeline. Therefore, studying resource allocation algorithms with high resource utilization is particularly important for compiler design. Starting from the resource constraints of the PISA architecture for resource allocation and the basic block constraints in the flow graph, the paper establishes a single objective integer programming model, designs and improves heuristic algorithms, and designs an approximate monotonic queue solving model. The experimental results show that the improved heuristic algorithm effectively reduces the complexity of PISA resource layout schemes while improving resource utilization. For two specific resource allocation problems, a resource allocation scheme with a minimum number of flow layers of 59 and 35 is proposed. Compared with rule-based heuristic algorithms, it reduces 21 and 15 layers respectively, verifying the effectiveness and stability of the algorithm.

References

[1]  刘衡祁. AI芯片的发展及应用[J]. 电子技术与软件工程, 2019(22): 91-92.
[2]  Hang, Z.J., Wen, M., Shi, Y. and Zhang, C.-Y. (2019) Programming Protocol-Independent Packet Processors High- Level Programming (P4HLP): Towards Unified High-Level Programming for a Commodity Programmable Switch. Electronics, 8, Article 958.
https://doi.org/10.3390/electronics8090958
[3]  Bosshart, P., Daly, D., et al. (2014) P4: Programming Proto-col-Independent Packet Processors. ACM SIGCOMM Computer Communication Review, 44, 87-95.
https://doi.org/10.1145/2656877.2656890
[4]  Bosshart, P., Gibb, G., Kim, H.S., et al. (2013) Forwarding Metamorphosis: Fast Programmable Match-Action Processing in Hardware for SDN. ACM SIGCOMM Computer Communication Review, 43, 99-110.
https://doi.org/10.1145/2534169.2486011
[5]  Rahman, A.A. and Zhang, X. (2019) Single-Objective Opti-mization for Stack Unit of Standing Wave Thermoacoustic Refrigerator through Fruit Fly Optimization Algorithm. International Journal of Refrigeration, 98, 35-41.
https://doi.org/10.1016/j.ijrefrig.2018.09.031
[6]  余璟, 岳振军, 贾永兴. 数学建模中的最优化方法探讨[J]. 科技视界, 2021(30): 66-67.
[7]  董丽薇, 黄敏, 匡韩斌, 等. 一种集成最后一公里的四方物流网络设计问题启发式算法[J]. 控制与决策, 2022, 37(6): 1601-1608.
[8]  尹静, 杨阿慧. 考虑交货期约束的塔式起重机服务调度启发式算法[J]. 中国工程机械学报, 2021, 19(1): 1-6.
[9]  王家, 王洋, 邓铁军, 等. 施工现场设施布局优化问题的新型启发式算法[J]. 湖南大学学报(自然科学版), 2020, 47(9): 128-136.
[10]  王鹏, 田懿, 冯定, 等. 基于启发式算法的套管柱组合优化设计方法[J]. 石油钻探技术, 2020, 48(2): 42-48.
[11]  华正明, 杨丽静, 刘振元. 使用启发式算法求解考虑资源可中途加入的资源投入问题[C]//东北大学, 中国自动化学会信息物理系统控制与决策专业委员会, 《控制与决策》编辑部. 第34届中国控制与决策会议论文, 2022: 536-541.
[12]  贺红燕, 赵红梅. 基于分治思想和遗传算法的集装箱装载优化模型[J]. 计算机应用与软件, 2021, 38(5): 117-123.
[13]  石嵩, 李宏亮, 朱巍. 阵列众核处理器上的高效归并排序算法[J]. 计算机研究与发展, 2016, 53(2): 362-373.

Full-Text

comments powered by Disqus

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133

WeChat 1538708413