


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



A graphics processing unit (GPU) is a computer chip that performs rapid mathematical calculations, primarily for the purpose of rendering images. In the early days of computing, the central processing unit (CPU) performed these calculations. As more graphics-intensive applications developed demands put strain on the CPU and degraded performance. The GPU came about as a way to offload those tasks from the CPU, freeing up its processing power.
History of GPU:
1970s: Arcade system boards have been using specialized graphics chips since the 1970s. Early video games hardware frame buffers were too expensive, so video chips composited data together as the display. 1980s: The NEC μPD7220 was one of the first implementations of a graphics display controller as a single Large Scale Integration (LSI) integrated circuit chip, enabling the design of low-cost, high- performance video graphics cards such as those from Number Nine Visual Technology. 1990s: In 1991, S3 Graphics introduced the S3 86C911, which its designers named after the Porsche 911 as an implication of the performance increase it promised. 2000 to 2010: NVidia was first to produce a chip capable of programmable shading, the GeForce 3 (code named NV20). 2010 to present: In 2010, NVidia began a partnership with Audi to power their cars' dashboards. These Tegra GPUs were powering the cars' dashboard, offering increased functionality to cars' navigation and entertainment systems
The 3D graphics rendering pipeline consists of the following main stages:
In modern GPUs, the vertex processing stage and fragment processing stage are programmable.
With six parallel vertex processors GPU receive data from the host and perform operations such as transformation and lighting .Than, the output goes into the triangle setup stage which takes care of primitive assembly, culling(cull) and clipping, and then into the rasterizer which produces the fragments. After triangle setup fragments move on to the sixteen fragment processors which operate in 4 parallel units and computes the output colors of each fragment. The fragment crossbar is a linking element that is basically responsible for directing output pixels to any available pixel engine. The 16 pixel engines are the final stage of processing, and perform operations such as alpha blending, depth tests, etc., before delivering the final pixel to the frame buffer.
CUDA (Compute Unified Device Architecture) is a parallel computing platform and programming model created by NVIDIA and implemented by the graphics processing units (GPUs) that they produce. CUDA has two programing environment interface:
Within C programs, call SIMT “kernel” routines that are executed on GPU. CUDA syntax extension to C identifies routine as a Kernel. Very easy to learn although to get highest possible Open CL:
The more double-precision support removes one of the major obstacles for the adoption of the GPU in many scientific computing applications. Another upcoming trend is a higher bandwidth path between CPU and GPU. The PCI Express bus between CPU and GPU is a bottleneck in many applications, so future support for PCI Express 2, HyperTransport, or other high-bandwidth connections is a welcome trend.
Today GPU is very, very parallel and is able to deal with more and more complex types of parallel tasks. In near future all apps will simply run incredibly fast by using high performance GPU. CPU may be a quad-core, but now days some graphics cards have over 200 cores. GPU can handle now non-graphical tasks and results are amazing. An algorithm that lends itself well to parallelism is much faster on GPU than it could ever be on a CPU.
[1] J. D. Owens, M. Houston, D. Luebke, S. Green, J. E. Stone, and J. C. Phillips, "GPU computing," Proceedings of the IEEE, vol. 96, no. 5, pp. 879–899, May 2008. [2] http://www.nvidia.com/object/what-is-gpu-computing.html [3] https://en.wikipedia.org/wiki/Graphics_processing_unit [4] https://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html [5] https://summerofhpc.prace-ri.eu/if-not-task-farming-then-what/