
ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology (IJARCET) Volume 6, Issue 2, February 2017 GPU Computing Chandana G P Oracle India Pvt ltd. Abstract The GPUs (Graphics Processing Unit) are mainly used to speed up computation intensive high performance computing applications. There are several tools and technologies available to perform general purpose computationally inten- sive application. This paper primarily discusses about GPU parallelism, applications, probable challenges , evolution of GPU architecture, advantages and objectives. Keywords: GPU, Computing Application areas, Evolution, Architecture,G80, G200, Fermi, Kepler-GK110, Advantages, Objectives Figure 1: Abstract representation of CPU and GPU 1 Introduction CPUs are generally optimized to do basic arith- metic, logical, and control operations. CPU is cards,Hardware-accelerated dimensional graph- made up of few cores and they are good at se- ics, OpenGL graphics API, DirectX graphics Ap- quential processing of integer operations. GPU plication Programming Interface Nvidia GeForce are optimized to perform trigonometric opera- and GPUs with programmable shading. From tions and graphic processing but the GPU per- the year 2000, general computation job using forms computation at a faster rate than CPU. GPUs are being used extensively GPU relies GPU usually consists of many cores and they are mainly on parallel computation and offers several good at parallel processing of instructions with benefits over conventional CPU computation like real data type. The system, which is the con- high band-width availability, reduced power con- solidation of both CPU and GPU, will perform sumption, increased computing and offers sev- better with respect to cost and efficiency. An ab- eral benefits over conventional CPU computa- stract representation of CPU and GPU is given tion like high bandwidth availability, reduced in figure 1. power consumption, increased computing capac- The history of GPU begins with the intro- ity, efficient bandwidth utilization, speedy exe- duction of Atari 8-bit computer text chip dur- cution of instructions, methodical resource al- ing the year 1970 to 1980 then IBM PC profes- location, and so on. Hence GPU computing sional graphics controller card introduced amid are widely used in variety of applications like of 1980 to 1990. During the span 1990 to 2000, a 3D gaming, video editing, bio-molecular simula- faster growth has happened in the production of tions, quantum chemistry, numerical analytics, wide varieties of GPU which includes S3 graphics weather forecasting, fluid dynamics, animation, 147 All Rights Reserved © 2017 IJARCET ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology (IJARCET) Volume 6, Issue 2, February 2017 image processing, medical imaging, analyzing air traffic flow, visualizing molecules, etc. 1.1 CPU parallel computing ver- sus GPU parallel computing One of the main aim of GPU is to achieve par- allelism but the parallelism can also be achieved using many cores CPU. The parallelism achieved by CPU differs from the parallelism achieved by GPU. CPU parallelism can be achieved with multi cores. Here almost all transistors are de- voted to per-form memory allocation and man- agement activities. As the transistors spend more time in resource management, the compu- tation speed will decrease and its performance with respect to bandwidth and throughput will be reduced. If the application that we are de- veloping is small and has only a little number of tasks to be carried out in parallel then CPU is best option. Because, if we spool those tasks on GPU which has many cores, it is not possible to efficiently utilize all cores and this may in turn lead to slower rate of computation. CPUs are good at achieving parallelism at instruction level Figure 2: CPU Parallelism versus GPU paral- whereas GPUs are good at achieving parallelism lelism at thread level. In GPU parallelization, while dividing a large program into smaller modules, care should be taken such that all blocks are of same size. Accessing of global memory has very high latency in GPU and branch diversions can 2.1 Weather and climate modeling also cause more bottleneck situations in GPU. A basic representation of CPU and GPU paral- lelism is given in figure 2 (David, Greg, 2007; Mayank, Ashwin, and Wu-chun, 2011). Climate is nothing but average weather and changes in the climate will have impact on weather cases. Climate usually changes accord- 2 GPU computing Applica- ing to their demographic region and it is one of tion Areas the areas of research, which in turn needs the development of appropriate weather and climate GPU computing is mainly used to enhance the models. The models will simulate various as- execution speed of several computation intensive pects of weather like atmosphere, oceans, lake, applications in the areas of medicine, physics, land, ice burgs, rainfall, storm, floods, etc. The engineering, mechanics, geology, astronomy, and simulation of above aspects of weather requires so on. Some of the important applications have computation of complicated governing equations been discussed below (GPU accelerated comput- and it needs to be done within a shorter period ing, 2014; GPU-ACCELERATED APPLICA- of time. Such massive simulation requires hun- TIONS, 2014; Cristobal, Nancy, and Luis, 2014; dreds of CPUs and performing operations using GPU APPLICATIONS, 2014; Harris, 2004; In- them is tedious. Therefore GPU parallel pro- Gu, and JungHyun 2006; Jorg, 2014; Moulik, gramming environment is used to model weather and Boonn, 2011; Che, Li, Sheaffer, Skadron, and climate changes. and Lach, 2008). 148 All Rights Reserved © 2017 IJARCET ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology (IJARCET) Volume 6, Issue 2, February 2017 2.2 Quantum Chemistry 2.5 Environmental Science Environmental science is a multi disciplinary Quantum Chemistry applies quantum mechanics area, which includes several domains like rain- to solve the problems related to Chemistry like forest deforestation, agriculture, pollution con- behavior of atoms, movement of molecules, elec- trol, natural resource management, global warm- trons collision, nuclear chain reaction, photons ing, soil contamination, etc. All these applica- motion, visualization of molecular orbits, com- tions involve enormous amount of data and par- putation of electronic structures, and so on. The allel computing is one effective way to simulate cost and time required for simulating data inten- such heterogeneous computation intensive appli- sive and complex calculation involved jobs which cations. GPU computing platforms like OpenCL requires massive number of CPU cycles and such and CUDA are extensively used for these pur- limitation are threat for the wide spread use of poses. Quantum Chemistry. The usage of conventional systems with CPUs for simulation of molecules and photons are very much time consuming. 3 Evolution of GPU archi- GPUs have many arithmetic units which work in parallel to fasten the calculation rate of such tecture applications. GPU architecture has evolved much after the year 2006 with respect to programmability, num- ber of cores, pipelining units, computation in- 2.3 Medical imaging tension, double precision operations, etc. In this section, we discuss the popular GPU ar- Medical imaging is concerned with the interior chitectures that came after 2006, which in- view of the human body. Its main intention is cludes G80, GT200, Fermi, and Kepler (Henry, to get the internal structure or pattern of hu- Misel, Maryam, and Andreas, 2010; NVIDIAs man body components. It includes various tech- Next Generation CUDA Compute Architecture: niques like X-ray, Magnetic Resonance Imaging Fermi, 2009; NVIDIAs Next Generation CUDA (MRI), chemotherapy, Computed Tomography Compute Architecture: Kepler GK110, 2010; (CT) scan, medicine imaging, Electrocardiogram Nvidia G80 Architecture and CUDA Program- (ECG), etc. Medical imaging involves massive ming, 2007; Steve, 2007; Peter, 2009; Lars, and computation using 3D datasets; it basically re- Stephen, 2012). lies on GPU computing for delivering accelerated medical 3.1 G80 NVIDIA G80 is based on Single Instruction Multiple Threads (SIMD) model and can spool 2.4 Dimensional computer graph- around 768 threads and 768 blocks. It was offi- ics cially released to market in the year November 2006 and was based on conventional C language. Dimensional computer graphics includes movie, It consists of 8 TPCs (Texture/Processor Clus- marketing, forecasting, gaming, and so on. It ter), where multiple threads where spooled and provides detailed description of both realistic all accessed the shared memory and synchroniza- and non-realistic images, audio, and video data. tion was established among the threads. But one Graphics processing includes massive computa- of the considerable limitations of G80 architec- tion jobs like simulation of the appearance of real ture was to efficiently utilize all available threads, world objects, series of transformation of objects which in turn requires efficient estimation of ex- in 3 dimensional space, portraying the objects in act number of threads and blocks that has to be 3 dimensional space, applying animation to the spooled and other factors like memory and data existing 2D objects, etc. Often video gaming ap- size within each thread have to be considered. plications are sensitive to the number of cores, on Typically
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages8 Page
-
File Size-