標題: | 基於知識庫之迴圈轉換 An Effective Knowledge-Based Parallel Loop Transformation for Parallelizing Compilers |
作者: | 莊孫文 Chuang, Sun-Wen 曾憲雄 Shian-Shyong Tseng 資訊科學與工程研究所 |
關鍵字: | 迴圈轉換;平行編譯器;專家系統;表格擷取分析;屬性擇序表;多處理機系統;Loop transformation;Parallelizing compiler;Expert system;Repertory grid analysis;Attribute ordering table;Multiprocessor system |
公開日期: | 1995 |
摘要: | 在本篇論文中, 我們主要是針對平行編譯器中的迴圈轉換方式來加以改 善. 異於傳統模式, 我們利用知識庫的觀念、方法來整合現存的迴圈轉換 並擷取各個迴圈的優點. 我們提出了一個基於知識庫的迴圈轉換方式, 簡 稱 KPLT,這是一個利用表格擷取式的分析和屬性擇序表的專家系統. KPLT 跟據迴圈不同的特性來選擇一個適當的轉換方式且利用選擇之方式進行轉 換. 異於以往單一階段的迴圈轉換, 我們採用多階段的方式以更加充分地 將迴圈中的平行度擷取出來. 藉由實驗, KPLT 顯示出更高的加速效果; 另一方面, 藉由知識庫的模式將使系統易於管理和修增. In this thesis, we concentrate on fundamental phase, parallel loop transforma-tion, for loop parallelization in parallelizing compilers, running on multipro-cessor systems. We first proposed a knowledge-based approach that integrates existing loop transformation methods to make good use of their ability to extract available parallelisms on loops. A rule-based system, calledthe knowledge-based parallel loop transformation (KPLT), is then developed by repertory gridanalysis and an attribute ordering table to construct the knowledge base. TheKPLT can choose the appropriate loop transformation methodto reorder the execution of statements and loop iterations for parallelization. Unlike the previousresearch that must of them use one-pass approach, we intro-duce the idea ofmultipass which may explore more parallelism of loops. Experimental results show that our method can achieve higher speedup on parallelizing compilers. Furthermore, for system maintenance and extensibility,our approach is obviouslysuperior to others. |
URI: | http://140.113.39.130/cdrfb3/record/nctu/#NT840394017 http://hdl.handle.net/11536/60459 |
Appears in Collections: | Thesis |