中国科学院软件研究所机构知识库
Advanced  
ISCAS OpenIR  > 软件所图书馆  > 期刊论文
Title:
Highly Optimized Code Generation for Stencil Codes with Computation Reuse for GPUs
Author: Ma, WJ ; Gao, K ; Long, GP
Keyword: GPGPU ; OpenCL ; stencil ; code generation ; computation reuse
Source: JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY
Issued Date: 2016
Volume: 31, Issue:6, Pages:1262-1274
Indexed Type: SCI
Department: Chinese Acad Sci, Inst Software, Lab Parallel Software & Comp Sci, Beijing 100190, Peoples R China. Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing 100190, Peoples R China. China Assoc Sci & Technol, Informat Ctr, Beijing 100863, Peoples R China.
Abstract: Computation reuse is known as an effective optimization technique. However, due to the complexity of modern GPU architectures, there is yet not enough understanding regarding the intriguing implications of the interplay of computation reuse and hardware specifics on application performance. In this paper, we propose an automatic code generator for a class of stencil codes with inherent computation reuse on GPUs. For such applications, the proper reuse of intermediate results, combined with careful register and on-chip local memory usage, has profound implications on performance. Current state of the art does not address this problem in depth, partially due to the lack of a good program representation that can expose all potential computation reuse. In this paper, we leverage the computation overlap graph (COG), a simple representation of data dependence and data reuse with "element view", to expose potential reuse opportunities. Using COG, we propose a portable code generation and tuning framework for GPUs. Compared with current state-of-the-art code generators, our experimental results show up to 56.7% performance improvement on modern GPUs such as NVIDIA C2050.
English Abstract: Computation reuse is known as an effective optimization technique. However, due to the complexity of modern GPU architectures, there is yet not enough understanding regarding the intriguing implications of the interplay of computation reuse and hardware specifics on application performance. In this paper, we propose an automatic code generator for a class of stencil codes with inherent computation reuse on GPUs. For such applications, the proper reuse of intermediate results, combined with careful register and on-chip local memory usage, has profound implications on performance. Current state of the art does not address this problem in depth, partially due to the lack of a good program representation that can expose all potential computation reuse. In this paper, we leverage the computation overlap graph (COG), a simple representation of data dependence and data reuse with "element view", to expose potential reuse opportunities. Using COG, we propose a portable code generation and tuning framework for GPUs. Compared with current state-of-the-art code generators, our experimental results show up to 56.7% performance improvement on modern GPUs such as NVIDIA C2050.
Language: 英语
WOS ID: WOS:000387335600015
Citation statistics:
Content Type: 期刊论文
URI: http://ir.iscas.ac.cn/handle/311060/17294
Appears in Collections:软件所图书馆_期刊论文

Files in This Item:
File Name/ File Size Content Type Version Access License
Highly+Optimized+Code+Generation+for+Stencil+Codes+with+Computation+Reuse+for+GPUs.pdf(674KB)----限制开放 联系获取全文

Recommended Citation:
Ma, WJ,Gao, K,Long, GP. Highly Optimized Code Generation for Stencil Codes with Computation Reuse for GPUs[J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY,2016-01-01,31(6):1262-1274.
Service
Recommend this item
Sava as my favorate item
Show this item's statistics
Export Endnote File
Google Scholar
Similar articles in Google Scholar
[Ma, WJ]'s Articles
[Gao, K]'s Articles
[Long, GP]'s Articles
CSDL cross search
Similar articles in CSDL Cross Search
[Ma, WJ]‘s Articles
[Gao, K]‘s Articles
[Long, GP]‘s Articles
Related Copyright Policies
Null
Social Bookmarking
Add to CiteULike Add to Connotea Add to Del.icio.us Add to Digg Add to Reddit
所有评论 (0)
暂无评论
 
评注功能仅针对注册用户开放,请您登录
您对该条目有什么异议,请填写以下表单,管理员会尽快联系您。
内 容:
Email:  *
单位:
验证码:   刷新
您在IR的使用过程中有什么好的想法或者建议可以反馈给我们。
标 题:
 *
内 容:
Email:  *
验证码:   刷新

Items in IR are protected by copyright, with all rights reserved, unless otherwise indicated.

 

 

Valid XHTML 1.0!
Copyright © 2007-2019  中国科学院软件研究所 - Feedback
Powered by CSpace