GPU并行程序自动优化方法研究

基本信息
批准号:61562070
项目类别:地区科学基金项目
资助金额:22.00
负责人:蔺勇
学科分类:
依托单位:宁夏师范学院
批准年份:2015
结题年份:2019
起止时间:2016-01-01 - 2019-12-31
项目状态: 已结题
项目参与者:桑苏琳,王芬,张玉宁,赵飞燕,杨雅宁
关键词:
编程模式OpenACC并行程序CUDA并行编程模型GPU
结项摘要

As a general-purpose processor, GPU has been widely used. However, it is very difficult to design a GPU parallel program with high performance. The programer must be very familiar with the underlying architecture of GPU. Meanwhile the process of optimizing parallel codes is very time -consuming and error-prone. To address this problem, the project intends to study the method of automaticly generating parallel codes from Serial codes and also the method to optimize these codes automaticly. Our approach is to improve OpenACC’s functionality which can make its parallel strategies more diverse, and generate different parallel codes via variant parameters. Then these codes should be analyzed by evaluation model. Acording to this parallel program performance evaluation, parameter sets should be changed to generate a more optimal parallel program. Repeating this process until we find the most optimal parallel source codes. The study work of this project is list as follows: 1) How to increase the directive and API in OpenACC to generate codes that meet those GPU hardware constraints. For example, the parallel program can satisfy coaleced memory access requirment or effictively use hierarchy GPU memory; 2) Considering pipeline components and impact factors how to establish analytical model which can accurately evaluate the performance of GPU programs; 3)Based on parallel program evaluation results, how to search a better parameter sets to generate more optimal parallel codes.

GPU作为通用计算处理器已得到了广泛的应用,但设计高质量的GPU并行程序却非常困难,它要求程序开发者对GPU底层硬件非常熟悉,并且GPU并行程序优化过程耗时且易出错。针对这个问题,本项目拟研究从串行程序到GPU并行程序的自动生成和自动优化方法。我们设计的方法是扩展OpenACC功能,使其并行策略更为多样,且可以通过参数修改得到不同的并行程序,然后对生成的并行程序进行性能评价,最后依据评价的值改变参数生成更优的并行程序,如此迭代直到找到最优并行程序。项目拟研究的问题包括:1)如何通过增加指导语句和API使OpenACC生成的代码满足GPU的硬件约束,例如可以自动实现合并存取、实现多级存储器规划等;2)怎样综合考虑GPU中多部件流水线的工作方式和影响因子的作用,以建立能够精准评价GPU程序的性能分析模型;3)如何从已有并行程序的评价结果出发,在并行化参数空间中搜索出能产生更优源代码的参数。

项目摘要

项目成果
{{index+1}}

{{i.achievement_title}}

{{i.achievement_title}}

DOI:{{i.doi}}
发表时间:{{i.publish_year}}

暂无此项成果

数据更新时间:2023-05-31

其他相关文献

1

监管的非对称性、盈余管理模式选择与证监会执法效率?

监管的非对称性、盈余管理模式选择与证监会执法效率?

DOI:
发表时间:2016
2

粗颗粒土的静止土压力系数非线性分析与计算方法

粗颗粒土的静止土压力系数非线性分析与计算方法

DOI:10.16285/j.rsm.2019.1280
发表时间:2019
3

MSGD: A Novel Matrix Factorization Approach for Large-Scale Collaborative Filtering Recommender Systems on GPUs

MSGD: A Novel Matrix Factorization Approach for Large-Scale Collaborative Filtering Recommender Systems on GPUs

DOI:
发表时间:2018
4

宁南山区植被恢复模式对土壤主要酶活性、微生物多样性及土壤养分的影响

宁南山区植被恢复模式对土壤主要酶活性、微生物多样性及土壤养分的影响

DOI:10.7606/j.issn.1000-7601.2022.03.25
发表时间:2022
5

中国参与全球价值链的环境效应分析

中国参与全球价值链的环境效应分析

DOI:10.12062/cpre.20181019
发表时间:2019

蔺勇的其他基金

相似国自然基金

1

基于进化优化的并行程序通信边覆盖测试数据自动生成

批准号:61503220
批准年份:2015
负责人:田甜
学科分类:F0305
资助金额:22.00
项目类别:青年科学基金项目
2

基于GPU的并行排序算法设计与优化

批准号:61073008
批准年份:2010
负责人:都志辉
学科分类:F0204
资助金额:36.00
项目类别:面上项目
3

异构并行系统全程序算法级低功耗优化方法研究

批准号:61672168
批准年份:2016
负责人:王卓薇
学科分类:F0204
资助金额:63.00
项目类别:面上项目
4

基于GPU并行优化与近似技术的校车车身非线性问题多学科优化方法研究

批准号:51205141
批准年份:2012
负责人:张勇
学科分类:E0506
资助金额:25.00
项目类别:青年科学基金项目