跳到主要內容

臺灣博碩士論文加值系統

(216.73.216.108) 您好!臺灣時間:2025/09/02 01:52
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

我願授權國圖
: 
twitterline
研究生:劉立
研究生(外文):Liu,Li
論文名稱:迴圈平行化之基底法理論
論文名稱(外文):A Basis Theory for Loop Parallelization
指導教授:林逢慶林逢慶引用關係
指導教授(外文):Lin,Ferng-Ching
學位類別:博士
校院名稱:國立臺灣大學
系所名稱:資訊工程研究所
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:1995
畢業學年度:84
語文別:中文
論文頁數:117
中文關鍵詞:正座標基底迴圈平行化單模轉換計算分割資料配置迴圈同步化
外文關鍵詞:PC-BasisParallelizationUnimodularPartitioningSynchronization
相關次數:
  • 被引用被引用:0
  • 點閱點閱:320
  • 評分評分:
  • 下載下載:0
  • 收藏至我的研究室書目清單書目收藏:0
平行程式在發展、除錯與了解都比循序程式困難,尤其是對平行性的掌握
,更須具有專門的素養。在程式結構中,執行迴圈所花費的時間最多,然
迴圈也蘊藏較多的平行性,若能窮究隱含其間之平行性,將可大量降低執
行時間。如此重要而繁複的課題,亟須仰賴平行編譯器之幫助方得以解決
。由於平行化的過程中,以計算間之相依關係對平行性的影響最鉅,本論
文主要是透過選取計算相依空間的適當基底,由迴圈轉換對基底的影響來
控制轉換後相依向量之組態,以建構各種最佳迴圈轉換的需求,且尋找轉
換之複雜度亦因而大為減少。透過基底法對相依向量的控制,平行化與向
量化所希冀之外部或內部平行迴圈,可分別經由向內或向外重整相依向量
而達到最佳成果。此外亦可經由基底法而使彼此無相依關係之計算分割的
數量達到最多,亦即獲得最大的平行性。當更進一步考慮資料配置的影響
時,基底法更可綜合計算分割與資料配置之相互影響,將迴圈重整為外層
可同時執行而不用互相傳遞資料,中間層可同時執行但須傳遞資料,內層
不可同時執行且須傳遞資料。如此的 "三層迴圈轉換" 可獲得最多的平行
迴圈以及避免傳遞資料所需之資料分割的最小單元。最後,基底法也可以
產生一組數量最少的同步向量。基底法提供了迴圈平行化的理論基礎,目
前利用它所推導出來的應用,已幾乎包含了大部分迴圈平行化所須考慮的
主要課題。 Parafrase-2是一個具有實驗性及學術性的平行編譯器。向
內重整相依向量與三層迴圈轉換已經完整的加入其中,整個轉換過程完全
無需人為介入,而達成自動化的理想。
Parallelism extraction, iteration partitioning, data
partitioning and scheduling are the most important issues in
parallelizing compilers. Parallelism extraction is to find
parallelizable computations. Iteration partitioning concerns
maximizing the number of independent partitions. Data
partitioning tries to group data used by iterations with
dependences to reduce the communications. Loop scheduling is to
synchronize the dependent iterations. Since all these works are
related to dependence vectors, how to manipulate them becomes
the key problem in designing parallelizing compilers. We
produce a proper basis, called pc-basis, for the space spanned
by the dependence vectors. The desired loop transformations for
different purposes can then be systematically derived based on
the pc-basis. We use pc-basis to construct unimodular
transformations for extracting maximum outer and inner loop
parallelism by systematically combining loop reversal, loop
skewing and loop interchange. We also use pc-basis to construct
left-side and right-side unimodular transformations to find
maximal independent partitioning. For treating iteration
partitioning and data partitioning together, we transform a
loop program into three layers of loops to suit different needs
of communications and synchronizations. For loop
synchronization, pc-basis is used to construct an optimal set
of synchronization vectors. All the above methods can be
automated. We implement our outer loop parallelization and
three-layer loop parallelization in Parafrase-2.

第一章 簡介
第二章 基礎背景
第三章 正標基底
第四章 向內及向外重整相依向量
第五章 計算分割
第六章 三層迴圈轉換
第七章 迴圈同步化
第八章 實作
第九章 結論
英文版論文
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top