Responsive image
博碩士論文 etd-0712113-135539 詳細資訊
Title page for etd-0712113-135539
論文名稱
Title
適用於三維圖形處理器之低功率特殊函數指令精確度分配系統
Low-power Precision Assignment for Special Function Instructions of 3-D Graphics Processing Units
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
69
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2013-07-24
繳交日期
Date of Submission
2013-08-19
關鍵字
Keywords
指令精確度分配、三維圖形處理器、禁忌搜尋、仿射算術誤差模型、低功率、多重精確度函數插補器
affine arithmetic error model, low power, multi-precision function interpolator, 3-D graphics processing units, tabu search, instruction precision assignment
統計
Statistics
本論文已被瀏覽 5678 次,被下載 202
The thesis/dissertation has been browsed 5678 times, has been downloaded 202 times.
中文摘要
現今CMOS製程與三維繪圖技術快速發展,三維圖形處理器(3-D GPU)已漸漸被廣泛使用於手持式裝置上。然而,此應用需要較複雜的運算才得以完成,而且這些運算都需要消耗大量的電力,這對於電池容量有限的手持式裝置是一項嚴峻的考驗。此外,電池製造技術的發展速度無法像IC製程技術這麼快速,其蓄電量無法長時間供給手持式裝置運作。如果想要有效利用電池所提供的有限能源,省電模式設計就必須被加入三維圖形應用中。
本論文提出一個適用於三維圖形處理器的特殊函數指令精確度分配系統,提供的特殊函數運算包含倒數、倒數開根號、對數與指數,每種運算都能依照需求動態地選擇不同的精確度模式執行。藉由此方式,我們不但可以省下一些功率消耗,而且圖形的輸出品質也能夠被接受。
本論文首先介紹一個符合IEEE-754單精度浮點數標準的多重精確度函數插補器,並且將其架構套用於三維圖形處理器之模擬器的特殊函數運算中。此多重精確度函數插補器提供了四種精確度模式,藉由降低特殊函數運算的輸出精確度來減少功率的消耗。接著,我們以仿射算術為基礎來建立誤差模型。此誤差模型顯示出每個特殊函數運算可使用的不同精確度模式與最終輸出結果的關連性。藉由上述的多重精確度函數插補器與基於仿射算術之誤差模型,我們發展一個快速的禁忌搜尋(TS)演算法,根據使用者所需的圖形輸出品質來分配每個特殊函數運算的精確度模式。
Abstract
Today COMS process and 3-D graphics technology are quickly developed, and 3-D graphics processing units (3-D GPU) have already been used in the handheld devices. However, this application requires many complex operations which consume a lot of power. This is a severe challenge for handheld devices with limited battery capacity. Furthermore, the development of battery manufacturing technology is slower than the IC process technology. As a result, the power storage of handheld devices cannot supply for a long time of operation. If we want to effectively use the limited battery capacity, the power-saving mode must be added to the application.
In this thesis, we propose a low-power precision assignment for special function instructions in 3-D GPU. Its special function operations include reciprocal, reciprocal square root, logarithm and exponential. Each operation is able to perform one of four different precision modes dynamically in demand. In this way, not only some power consumptions can be saved, but also the quality of graphics is able to be accepted by users.
This paper first introduces a multi-precision function interpolator which is compliant with the IEEE-754 single precision floating point standard, and this function interpolator is used for special function operations in 3-D GPU. This multi-precision function interpolator provides four precision modes to trade power consumption with output accuracy of special function operations. Subsequently, affine arithmetic is modified to build the error model of special function. This error model indicates the relationship between the precision mode of each special function operation and the final output. Based on this multi-precision function interpolator and the modified affine arithmetic error model, a fast tabu search (TS) algorithm is developed to assign the precision modes of each special function operation. Besides, the necessary graphics output quality can be provided, according to the requirements of the users.
目次 Table of Contents
第一章 概論 . . . . . . . . . . . . . . . . . 1
1.1 研究動機 . . . . . . . . . . . . . . . . . 1
1.2 論文大綱 . . . . . . . . . . . . . . . . . 2
第二章 研究背景 . . . . . . . . . . . . . . . . . 3
2.1 OpenGL ES繪圖流程 . . . . . . . . . . . . . . . . . 3
2.1.1 OpenGL ES 1.x . . . . . . . . . . . . . . . . . 3
2.1.2 OpenGL ES 2.0 . . . . . . . . . . . . . . . . . 6
2.2 ATTILA 3-D Graphics Processing Unit Simulator . . . . . . . . . . . . . . . . . 7
2.2.1 ATTILA模擬器驗證流程 . . . . . . . . . . . . . . . . . 7
2.2.2 模擬器架構 . . . . . . . . . . . . . . . . . 9
2.3多重精確度函數插補器 . . . . . . . . . . . . . . . . . 13
2.3.1 多項式逼近法 . . . . . . . . . . . . . . . . . 13
2.3.2 多重精確度函數插補器架構 . . . . . . . . . . . . . . . . . 15
第三章 低功率特殊函數指令精確度分配系統 . . . . . . . . . . . . . . . . . 19
3.1指令精確度分配流程 . . . . . . . . . . . . . . . . . 20
3.2 ATTILA模擬器的調整與修改 . . . . . . . . . . . . . . . . . 21
3.3 指令精確度分配系統 . . . . . . . . . . . . . . . . . 24
3.3.1 資料非循環圖 . . . . . . . . . . . . . . . . . 25
3.3.2 基於仿射算術誤差模型 . . . . . . . . . . . . . . . . . 28
3.3.3誤差與功率表格 . . . . . . . . . . . . . . . . . 35
3.3.4禁忌搜尋演算法 . . . . . . . . . . . . . . . . . 38
第四章 實驗結果 . . . . . . . . . . . . . . . . . 42
4.1 實驗步驟與方法 . . . . . . . . . . . . . . . . . 42
4.2 實驗數據 . . . . . . . . . . . . . . . . . 42
第五章 結論與未來研究方向 . . . . . . . . . . . . . . . . . 54
5.1 結論 . . . . . . . . . . . . . . . . . 54
5.2 未來研究方向 . . . . . . . . . . . . . . . . . 54
參考文獻 . . . . . . . . . . . . . . . . . 56
參考文獻 References
[1] Khronos Group: http://www.khronos.org/
[2] ATTILA: http://attila.ac.upc.edu/wiki/index.php/Main_Page
[3] Victor Moya del Barrio, Carlos González, Jordi Roca, Agustín Fernández, and Roger Espasa, “ATTILA: A Cycle-Level Execution-Driven Simulator for Modern GPU Architectures,” IEEE International Symposium on Performance Analysis of Systems and Software, March 2006.
[4] ARB Vertex Program Extension: http://oss.sgi.com/projects/ogl-sample/registry/A
RB/vertex_program.txt
[5] ARB Fragment Program Extension: http://oss.sgi.com/projects/ogl-sample/registr
y/ARB/fragment_program.txt
[6] 程建綱, “適用於多媒體應用的多重精確度函數插補器,” 國立中山大學, 碩士論文, July 2012.
[7] J.A. Pineiro, S.F. Oberman, J.-M. Muller and J.D. Bruguera, “High-speed function approximation using a minimax quadratic interpolator,” IEEE Transactions on Computers, vol. 54, no. 3, pp. 304-318, 2005.
[8] A. Andrel, M. Schmitz, P. Eles, Z. Peng, and B.M. Al-Hashimi, “Overheadconscious voltage selection for dynamic and leakage energy reduction of time-constrained systems,” IEEE Proceedings-Computer and Digital Techniques, pp. 28-38, 2005.
[9] R.C.T. Lee, S.S. Tseng, R.C. Chang, and Y.T. Tsai, “Introduction to the Design and Analysis of Algorithms (A Strategic Approach),” McGraw Hill, 2005.
[10] F.C. Fang, C. Tsuhan, and R.A. Rutenbar, “Floating-point error analysis based on affine arithmetic,” IEEE International Conference on Acoustics, Speech, and Signal Processing, pp. 561-564, 2003.

[11] F.C. Fang, R.A. Rutenbar, M. Puschel, and C. Tsuhan, “Toward Efficient static analysis of finite-precision effects in DSP applications via affine arithmetic modeling,” Proceedings of the 40th annual Design Automation Conference, pp. 496-501, 2003.
[12] J.L.D. Comba and J. Stolfi, “Affine arithmetic and its applications to computer graph,” In Proceedings of the VI SIBGRAPI (Brazilian Symposium on Computer Graphics and Image Processing), pp. 9-18, 1993.
[13] S.N. Nediako, K. Vladik, and S.A. Scott, “Interval arithmetic, affine arithmetic, Taylor series method, What next?,” Numerical Algorithm, pp. 325-336, 2004.
[14] H.H. Shou, H.W. Lin, R.M. Ralph, and G.J. Wang, “Modified affine arithmetic in tensor form for trivariate polynomial evaluation and algebraic surface plotting,” Journal of Computational and Applied Mathematics, pp. 155-171, 2004.
[15] H.H. Shou, R.M. Ralph, G.J. Wang, B. Adrian, and V. Irina, “A Recursive Taylor Method for Algebraic Curves and Surfaces,” Computational Methods for Algebraic Spline Surfaces, pp. 135-154, 2005.
[16] “TSMC 0.13μm (CL013G) Process 1.2-Volt SAGE-X^TM Standard Cell Library Databook,” Jan. 2004.
[17] “IEEE Standard for Floating-Point Arithmetic,” 2008.
[18] Victor Moya, Carlos Gonzalez, Jordi Roca, et al. “Shader Performance Analysis on a Modern GPU Architecture.” Micro 38, 2005.
[19] Victor Moya, Carlos Gonzalez, Jordi Roca, et al. “A Single (Unified) Shader GPU Microarchitecture for Embedded Systems.” Hi-PEAC 2005.
[20] Erik Lindholm, et al. “An User Programmable Vertex Engine.” ACM SIGGRAPH 2001.
[21] “Programmable Pixel Shading Architecture,” Dec. 27, 2002, NVIDIA CORP.
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code