受功耗、面积的限制,高性能众核处理器倾向于将片上SRAM组织成SPM这种非cache形式,与片外主存构成多级存储架构。这种存储架构需要软件显示管理应用程序中的数据存储和传输。为此,提出了一种众核多级访存资源的静态数据布局优化模型。该模型首先选择应用程序中可进行访存优化的数组变量,对这些变量进行优化收益的评估,然后建立一个类0-1背包优化问题的目标模型,最后针对该优化模型提出了一个实用的近似算法。实验结果验证了该模型的有效性。
Constrained by power consumption and surface area,high-performance multi-core processor manufacturers tend to arrange on-chip SRAM into a non-cache form such as SPM to constitute a hierarchical storage architecture together with standalone memories.Such storage architecture requires data storage and transfer functions of the software display management application.The article puts forward a static data placement and optimisation model oriented towards multi-core hierarchical accessible resources.The model first determines array variables available for access optimisation in an application,draws assessments on benefits of optimisation with those variables,then establishes an object model similar to 0-1 bag optimisation,and finally concludes a practical approximate algorithm aiming at the optimised model.Experiments have validated the method.