Research of GPU General Purpose Computing Based on Brook

Author
ZuoJunZuo
Advisor
HuangYongZhong
School
PLA Information Engineering University
Major
Computer Software and Theory
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2007
Downloads
252
Citations
2

Request the full text

Abstract

Recent years, with the rapid improvement in performance of the modern Graphic Processing Unit (GPU), the performance of GPUs have already break up the Moore’s Law. Due to the inherent parallel character and the increasing programmable ability, it has been under the limelight that applying GPUs to the generic parallel computation.In this thesis, we firstly introduced the basic theory and the architecture of GPUs. At the same time, we also discussed OpenGL and DirectX, the two popular graphic interfaces. Besides, we summarized the procedure of the generic parallel computation using GPUs. Being a kind of typical high-level graphic programming language, Brook GPU overcomes the difficulties of programming GPUs directly, which often requires dedicated professional knowledge of graphic hardware.Secondly, we investigated the design principles and the architecture of Book GPU as well as the compiling and running procedure of Brook program. Because the way of data mapping is the premise of Brook programming, we analyzed the data mapping methods with emphasis and validated its effectiveness with related experiments.Then, we deeply studied the way to design GPU-based parallel algorithm based on Brook with an example of FFT. Current implementations of parallel FFT algorithm do not meet the single instrument multiple data flow character of GPUs and can not exchange data between the parallel units. We presented a parallel FFT algorithm tailored for GPUs based on the deep investigation of the FFT. Our algorithm and along with its design philosophy provide both theoretical principles and practical guidelines for applying GPUs to the field of generic parallel computing.Lastly, we evaluated the parallel computing ability of GPUs using Brook GPU. The experimental results show that the computation efficiency has little improvement on the small data size problems needing frequent data transfers which are time-consuming tasks. However, when it comes to the computation intensive problems with large data set, the efficiency of our algorithms on GPU is greatly improved compared to that of those on CPU.

Table of contents

List of Tables 7-8 the diagram directory 8-10 summary 10-11 ABSTRACT 11-12 Chapter Introduction 12-18 1.1 GPU development history 12-16 1.1.1 GPU development 12-14 1.1.2 GPU characteristics 14-15 1.1.3 using GPU for general purpose computing 15-16 1.2 thesis 16-18 the Subdivision of the background to the study 16 1.2.2 The purpose of the study and significance 16 1.2.3 Research 16-17 1.2.4 papers organization 17-18 work 18-28 2.1 graphics processing architecture 18-24 2.1.1 GPU architecture 18-19 2.1.2 programmable graphics pipeline and programmable components 19-24 2.2 GPU Programming Method 24-25 2.2.1 OpenGL graphics interface 24 2.2.2 DirectX graphics interface 24-25 2.3 GPU for general computing related research 25-28 Chapter Brook-GPU Universal Flow Language 28-44 3.1 Why Brook 28 3.2 Brook and other shading language programming mode 28-30 3.3 Brook About 30-31 3.4 Brook structure analysis 31-34 3.4.1 stream computing model 31-32 3.4.2 Brook languages ??The design goals 32 3.4.3 BrookGPU architecture 32-34 3.5 Brook programming environment 34-39 Brook procedures 3.5.1 data structure 34-35 3.5.2 the Kernel function 35-37 3.5.3 reduction operations (Reduction) 37-38 3.5.4 dispersion (ScatterOp) and set operations (GatherOp) 38 3.5.5 Brook language features 38-39 3.6 Brook in data mapping to achieve 39-42 3.6.1 stream mapping 39-40 3.6.2 kernel function mapping 40-42 3.6.3 Reduction mapping 42 a 3.7 brook procedures compile and run 42-43 3.8 This chapter Summary 43-44 the utilize Brook FFT algorithm implemented on the GPU 44-65 the 4.1 discrete Fourier transform (DFT) 44-46 4.1.1 DFT defined 44-45 4.1.2 direct calculation of the DFT features 45 4.1.3 reduce the amount of computation to improve the efficiency of DFT operation basic ways 45-46 4.2 two types of ways to improve 46-49 4.2.1 Time Domain extraction method DIT-FFT 46-48 4.2.2 frequency domain extraction method DIF-FFT 48 4.2.3 FFT implementations on the CPU 48-49 4.3 Parallel FFT on the GPU to achieve 49-58 4.3.1 on FFT algorithm improvements 50-56 4.3.2 use of Brook achieve FFT algorithm 56-58 4.3.3 Brook programming Summary 58 4.4 Testing and Analysis 58-65 4.4.1 Brook running environment structures 58-60 4.4.2 test results and analysis 60-65 Chapter V Conclusion 65-67 5.1 work summarizes 65-66 5.2 further research work 66-67 the References 67-70 the in Appendix 1 qffi to the core code 70-72 The author resume studying for a Master completed during 72-73 Acknowledgements 73

Related dissertations

  1. Research on Main Memory Database Indexing Based on GPU
    LiuYong ·South China University of Technology ·2013 ·Doctoral dissertation
  2. Research on Application of Parallel Processing Technologies in Communication Systems
    FengFuHui ·Beijing Jiaotong University ·2014 ·Master's thesis
  3. Research of 3D Cone-beam CT Image Reconstruction Accelerating Technology
    MaJunFeng ·Shandong University ·2011 ·Master's thesis