WEKO3
アイテム
依存関係に基づく括出し法
https://ipsj.ixsq.nii.ac.jp/records/142708
https://ipsj.ixsq.nii.ac.jp/records/1427089ccf29fd-cdd5-4f58-b183-4847f5202431
名前 / ファイル | ライセンス | アクション |
---|---|---|
![]()
2100年1月1日からダウンロード可能です。
|
Copyright (c) 2015 by the Institute of Electronics, Information and Communication Engineers This SIG report is only available to those in membership of the SIG.
|
|
SE:会員:¥0, DLIB:会員:¥0 |
Item type | SIG Technical Reports(1) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
公開日 | 2015-07-15 | |||||||||
タイトル | ||||||||||
タイトル | 依存関係に基づく括出し法 | |||||||||
タイトル | ||||||||||
言語 | en | |||||||||
タイトル | Dependency Based Factoring | |||||||||
言語 | ||||||||||
言語 | jpn | |||||||||
資源タイプ | ||||||||||
資源タイプ識別子 | http://purl.org/coar/resource_type/c_18gh | |||||||||
資源タイプ | technical report | |||||||||
著者所属 | ||||||||||
東京理科大学理工学研究科情報科学専攻 | ||||||||||
著者所属 | ||||||||||
東京理科大学 | ||||||||||
著者所属(英) | ||||||||||
en | ||||||||||
Department of Information Sciences, Graduate School of Tokyo University of Science | ||||||||||
著者所属(英) | ||||||||||
en | ||||||||||
Tokyo University of Science | ||||||||||
著者名 |
那須, 孝志
× 那須, 孝志
× 滝本, 宗宏
|
|||||||||
著者名(英) |
Takashi, Nasu
× Takashi, Nasu
× Munehiro, Takimoto
|
|||||||||
論文抄録 | ||||||||||
内容記述タイプ | Other | |||||||||
内容記述 | SIMD 実行によって引き起こされる分岐発散は,GPU の効率低下を引き起こす主要な問題である.この分岐発散を改善する手法として,括出しと呼ばれる最適化が有効であることが知られている.しかし,従来の括出し法では,依存関係をもつ複数の計算を括り出す際,新たな分岐の挿入を複数回必要とする場合があった.本稿では,演算子の一致性だけに基づいた従来の括出し法を拡張し,括り出す計算の依存関係も考慮した括出し法を提案する.その上で,より大きな依存構造をもつ計算を優先して括り出すことによって,従来法よりも多くの括出しを,一度の分岐挿入で実現する.また,各分岐の訪問順序を考慮して括り出すことで,入れ子になった分岐からの括出しも可能にする.提案手法の有用性を示すため,SPEC CPU2000 と GPU の各ベンチマークを用いて実験を行ったところ,従来法と比較し最大で 77%多くの括出しを実現し,最大で約 12%の実行速度向上が得られることを確認した. | |||||||||
論文抄録(英) | ||||||||||
内容記述タイプ | Other | |||||||||
内容記述 | Branch divergence caused by Single Instruction Multiple Data (SIMD) execution extremely decreases the performance of GPU. One of effective optimizations for suppressing the branch divergence is code factoring, which is a program transformation factoring out instructions with identical operators on branch paths as a common instruction. In general, the factorization of several instructions may require introduction of some new branches to hold dependencies of the instructions at the sacrifice of the optimization effect. In other words, the naive factorization of instructions may prevent subsequent instructions from being factored out through a single branch insertion. In this paper, we propose a new code factoring approach that not only detects instructions with identical operators, but also considers their dependencies. Our approach preferentially factors out the larger sequence of instructions with the same dependence structure, so that more instructions can be factored out through a single branch insertion. Furthermore, the factorization manner enables factoring instructions across nested branches. In order to prove the effectiveness of our approach, we have conducted experiments for the number of instructions factored out and the improvement of execution efficiency on SPEC CPU2000 and GPU benchmarks respectively. Their results show that our approach increases instructions factored out as much as 77% compared with the naive approach, and show that it maximally achieves speed-up by almost 12% on GPU. | |||||||||
書誌レコードID | ||||||||||
収録物識別子タイプ | NCID | |||||||||
収録物識別子 | AN10112981 | |||||||||
書誌情報 |
研究報告ソフトウェア工学(SE) 巻 2015-SE-189, 号 9, p. 1-6, 発行日 2015-07-15 |
|||||||||
ISSN | ||||||||||
収録物識別子タイプ | ISSN | |||||||||
収録物識別子 | 2188-8825 | |||||||||
Notice | ||||||||||
SIG Technical Reports are nonrefereed and hence may later appear in any journals, conferences, symposia, etc. | ||||||||||
出版者 | ||||||||||
言語 | ja | |||||||||
出版者 | 情報処理学会 |