• Home
  • /
  • Blog
  • /
  • GPU Computing (Explained in Simple Language)

GPU Computing (Explained in Simple Language)

GPU Computing

While GPUs were initially popular with video editing and computer gaming enthusiasts, the rapid growth of cryptocurrencies created a new market. This is because cryptocurrency mining requires thousands of calculations in order to add transactions to a blockchain, which is something that could be profitable with access to a GPU and an inexpensive supply of electricity.

As you might be knowing that a central processing unit (CPU) is the electronic circuitry within a computer that carries out the instructions of a computer program by performing the basic arithmetic, logic, control, and input/output (I/O) operations specified by the instructions. The term has been used in the computer industry at least since the early 1960s. Traditionally, the term “CPU” refers to a processor, more specifically to its processing unit and control unit (CU), distinguishing these core elements of a computer from external components such as main memory and I/O circuitry.

The form, design, and implementation of CPUs have changed over the course of their history, but their fundamental operation remains almost unchanged. Principal components of a CPU include the arithmetic logic unit (ALU) that performs arithmetic and logic operations, processor registers that supply operands to the ALU and store the results of ALU operations, and a control unit that fetches instructions from memory and “executes” them by directing the coordinated operations of the ALU, registers and other components.

coding-for-kids-ebook-cover

Get Instant Access To 

Coding For Kids eBook

A must read for every parent

Country
  • Afghanistan 93
  • Albania 355
  • Algeria 213
  • American Samoa 1-684
  • Andorra 376
  • Angola 244
  • Anguilla 1-264
  • Antarctica 672
  • Antigua & Barbuda 1-268
  • Argentina 54
  • Armenia 374
  • Aruba 297
  • Australia 61
  • Austria 43
  • Azerbaijan 994
  • Bahamas 1-242
  • Bahrain 973
  • Bangladesh 880
  • Barbados 1-246
  • Belarus 375
  • Belgium 32
  • Belize 501
  • Benin 229
  • Bermuda 1-441
  • Bhutan 975
  • Bolivia 591
  • Bosnia 387
  • Botswana 267
  • Bouvet Island 47
  • Brazil 55
  • British Indian Ocean Territory 246
  • British Virgin Islands 1-284
  • Brunei 673
  • Bulgaria 359
  • Burkina Faso 226
  • Burundi 257
  • Cambodia 855
  • Cameroon 237
  • Canada 1
  • Cape Verde 238
  • Caribbean Netherlands 599
  • Cayman Islands 1-345
  • Central African Republic 236
  • Chad 235
  • Chile 56
  • China 86
  • Christmas Island 61
  • Cocos (Keeling) Islands 61
  • Colombia 57
  • Comoros 269
  • Congo - Brazzaville 242
  • Congo - Kinshasa 243
  • Cook Islands 682
  • Costa Rica 506
  • Croatia 385
  • Cuba 53
  • Cyprus 357
  • Czech Republic 420
  • Denmark 45
  • Djibouti 253
  • Dominica 1-767
  • Ecuador 593
  • Egypt 20
  • El Salvador 503
  • Equatorial Guinea 240
  • Eritrea 291
  • Estonia 372
  • Ethiopia 251
  • Falkland Islands 500
  • Faroe Islands 298
  • Fiji 679
  • Finland 358
  • France 33
  • French Guiana 594
  • French Polynesia 689
  • French Southern Territories 262
  • Gabon 241
  • Gambia 220
  • Georgia 995
  • Germany 49
  • Ghana 233
  • Gibraltar 350
  • Greece 30
  • Greenland 299
  • Grenada 1-473
  • Guadeloupe 590
  • Guam 1-671
  • Guatemala 502
  • Guernsey 44
  • Guinea 224
  • Guinea-Bissau 245
  • Guyana 592
  • Haiti 509
  • Heard & McDonald Islands 672
  • Honduras 504
  • Hong Kong 852
  • Hungary 36
  • Iceland 354
  • India 91
  • Indonesia 62
  • Iran 98
  • Iraq 964
  • Ireland 353
  • Isle of Man 44
  • Israel 972
  • Italy 39
  • Jamaica 1-876
  • Japan 81
  • Jersey 44
  • Jordan 962
  • Kazakhstan 7
  • Kenya 254
  • Kiribati 686
  • Kuwait 965
  • Kyrgyzstan 996
  • Laos 856
  • Latvia 371
  • Lebanon 961
  • Lesotho 266
  • Liberia 231
  • Libya 218
  • Liechtenstein 423
  • Lithuania 370
  • Luxembourg 352
  • Macau 853
  • Macedonia 389
  • Madagascar 261
  • Malawi 265
  • Malaysia 60
  • Maldives 960
  • Mali 223
  • Malta 356
  • Marshall Islands 692
  • Martinique 596
  • Mauritania 222
  • Mauritius 230
  • Mayotte 262
  • Mexico 52
  • Micronesia 691
  • Moldova 373
  • Monaco 377
  • Mongolia 976
  • Montenegro 382
  • Montserrat 1-664
  • Morocco 212
  • Mozambique 258
  • Myanmar 95
  • Namibia 264
  • Nauru 674
  • Nepal 977
  • Netherlands 31
  • New Caledonia 687
  • New Zealand 64
  • Nicaragua 505
  • Niger 227
  • Nigeria 234
  • Niue 683
  • Norfolk Island 672
  • North Korea 850
  • Northern Mariana Islands 1-670
  • Norway 47
  • Oman 968
  • Pakistan 92
  • Palau 680
  • Palestine 970
  • Panama 507
  • Papua New Guinea 675
  • Paraguay 595
  • Peru 51
  • Philippines 63
  • Pitcairn Islands 870
  • Poland 48
  • Portugal 351
  • Puerto Rico 1
  • Qatar 974
  • Romania 40
  • Russia 7
  • Rwanda 250
  • Réunion 262
  • Samoa 685
  • San Marino 378
  • Saudi Arabia 966
  • Senegal 221
  • Serbia 381 p
  • Seychelles 248
  • Sierra Leone 232
  • Singapore 65
  • Slovakia 421
  • Slovenia 386
  • Solomon Islands 677
  • Somalia 252
  • South Africa 27
  • South Georgia & South Sandwich Islands 500
  • South Korea 82
  • South Sudan 211
  • Spain 34
  • Sri Lanka 94
  • Sudan 249
  • Suriname 597
  • Svalbard & Jan Mayen 47
  • Swaziland 268
  • Sweden 46
  • Switzerland 41
  • Syria 963
  • Sao Tome and Principe 239
  • Taiwan 886
  • Tajikistan 992
  • Tanzania 255
  • Thailand 66
  • Timor-Leste 670
  • Togo 228
  • Tokelau 690
  • Tonga 676
  • Trinidad & Tobago 1-868
  • Tunisia 216
  • Turkey 90
  • Turkmenistan 993
  • Turks & Caicos Islands 1-649
  • Tuvalu 688
  • U.S. Outlying Islands
  • U.S. Virgin Islands 1-340
  • UK 44
  • US 1
  • Uganda 256
  • Ukraine 380
  • United Arab Emirates 971
  • Uruguay 598
  • Uzbekistan 998
  • Vanuatu 678
  • Vatican City 39-06
  • Venezuela 58
  • Vietnam 84
  • Wallis & Futuna 681
  • Western Sahara 212
  • Yemen 967
  • Zambia 260
  • Zimbabwe 263
How Old Is Your Child?
  • Less Than 5 Years
  • 5 - 8 Years
  • 9 - 13 Years
  • 14 - 18 Years
  • 18+ Years

What is a GPU?

(Graphics Processing Unit) A programmable processor specialized for rendering all images on the computer’s screen. A GPU provides the fastest graphics processing, and for gamers, the GPU is a stand-alone card plugged into the PCI Express (PCIe) bus. GPU circuitry can also be part of the motherboard chipset or on the CPU chip itself.

GPU Computing

A GPU performs parallel operations. Although it is used for 2D data as well as for zooming and panning the screen, a GPU is essential for the smooth decoding and rendering of 3D animations and video. The more sophisticated the GPU, the higher the resolution and the faster and smoother the motion. GPUs on stand-alone cards include their own memory, while GPUs built into the chipset or CPU chip share the main memory with the CPU.

What Does a GPU Do?

The graphics processing unit, or GPU, has become one of the most important types of computing technology, both for personal and business computing. Designed for parallel processing, the GPU is used in a wide range of applications, including graphics and video rendering. Although they’re best known for their capabilities in gaming, GPUs are becoming more popular for use in creative production and artificial intelligence (AI).

GPUs were originally designed to accelerate the rendering of 3D graphics. Over time, they became more flexible and programmable, enhancing their capabilities. This allowed graphics programmers to create more interesting visual effects and realistic scenes with advanced lighting and shadowing techniques. Other developers also began to tap the power of GPUs to dramatically accelerate additional workloads in high-performance computing (HPC), deep learning, and more.

History of GPU

Back in 1999, NVIDIA popularized the term “GPU” as an acronym for graphics processing unit, although the term had been used for at least a decade prior to marketing the GeForce 256. However, the GPU was actually invented years before NVIDIA launched their proprietary NV1 and, later, the video card to rule them all.

1980s: Before there was the graphics card we know today, there was little more than a video display card. IBM made and introduced the Monochrome Display Adapter (MDA) in 1981. The MDA card had a single monochrome text mode to allow high-resolution text and symbol display at 80 x 25 characters, which was useful for drawing forms. However, the MDA did not support graphics of any kind. One year later, Hercules Computer Technology debuted the Hercules Graphics Card (HGC), which integrated IBM’s text-only MDA display standard with a bitmapped graphics mode. By 1983, Intel introduced the iSBX 275 Video Graphics Controller Multimodule Board, which was capable of displaying as many as eight unique colors at 256 x 256 resolution.

Just after the release of MDA video display cards, IBM created the first graphics card with a full-color display. The Color Graphics Card (CGC) was designed with 16 kB of video memory, two text modes, and the ability to connect to either a direct-drive CRT monitor or an NTSC-compatible television. Shortly thereafter, IBM invented the Enhanced Graphics Adapter (EGA) that could produce a display of 16 simultaneous colors at a screen resolution of 640 x 350 pixels.

Just three years later, the EGA standard was made obsolete by IBM’s Video Graphics Adapter (VGA). VGA supported all points addressable (APA) graphics and alphanumeric text modes. VGA is also known as Video Graphics Array as a result of its single-chip design. It didn’t take long for clone manufacturers to start producing their own VGA versions. In 1988, ATi Technologies developed the ATi Wonder as part of a series of add-on products for IBM computers.

1990s: Once IBM faded from the forefront of formative PC development, many companies began developing cards with more resolution and color depths. These video cards were advertised as Super VGA (SVGA) or even Ultra VGA (UVGA), but both terms were too ambiguous and simplistic. 3dfx Interactive introduced the Voodoo1 graphics chip in 1996, gaining initial fame in the arcade market and eschewing 2D graphics altogether. This hardcore hardware led to the 3D revolution.

Within one year, the Voodoo2 was released as one of the first video cards to support the parallel work of two cards within a single PC. NVIDIA entered the scene in 1993, but they didn’t earn a reputation until 1997 when they released the first GPU to combine 3D acceleration with traditional 2D and video acceleration. RIVA 128 did away with the quadratic texture mapping technology of the NV1 and featured upgraded drivers.

Finally, the term “GPU” was born. NVIDIA shaped the future of modern graphics processing by debuting GeForce 256. According to the NVIDIA definition, the graphics processor is a “single-chip processor with integrated transform, lighting, triangle setup/clipping, and rendering engines that is capable of processing a minimum of 10 million polygons per second.” The GeForce 256 improved on the technology offered by RIVA processors by taking a large leap in 3D gaming performance.

2000s: NVIDIA went on to release the GeForce 8800 GTX with a texture-fill rate of 36.8 billion per second. By 2009, ATI released the colossal Radeon HD 5970 dual-GPU card before being taken over by AMD. At the dawn of virtual reality in consumer technology, NVIDIA developed the GeForce Titan, which has become the forerunner of graphics technology since. NVIDIA sees multi-chip GPU architecture as the future of graphics processing, but the possibilities are endless.

How Does a GPU Work?

A GPU may be found integrated with a CPU on the same electronic circuit, on a graphics card, or in the motherboard of a personal computer or server. GPUs and CPUs are fairly similar in construction. However, GPUs are specifically designed for performing more complex mathematical and geometric calculations. These calculations are necessary to render graphics. GPUs may contain more transistors than a CPU.

GPUs will use parallel processing, where multiple processors handle separate parts of the same task. A GPU will also have its own RAM (random access memory) to store data on the images it processes. Information about each pixel is stored, including its location on the display. A digital-to-analog converter (DAC) is connected to the RAM and will turn the image into an analog signal so the monitor can display it. Video RAM will typically operate at high speeds.

GPUs will come in two types: integrated and discrete. Integrated GPUs come embedded alongside the GPU, while discrete GPUs can be mounted on a separate circuit board.

For companies that require heavy computing power, or work with machine learning or 3D visualizations, having GPUs fixated in the cloud may be a good option. An example of this is Google’s Cloud GPUs, which offer high-performance GPUs on Google Cloud. Hosting GPUs in the cloud will have the benefits of freeing up local resources, saving time, cost, and scalability. Users can choose between a range of GPU types while gaining flexible performance based on their needs.

Difference Between CPU and GPU

CPUs and GPUs have a lot in common. Both are critical computing engines. Both are silicon-based microprocessors. And both handle data. But CPUs and GPUs have different architectures and are built for different purposes.

The CPU is suited to a wide variety of workloads, especially those for which latency or per-core performance is important. A powerful execution engine, the CPU focuses its smaller number of cores on individual tasks and on getting things done quickly. This makes it uniquely well equipped for jobs ranging from serial computing to running databases.

GPUs began as specialized ASICs developed to accelerate specific 3D rendering tasks. Over time, these fixed-function engines became more programmable and more flexible. While graphics and the increasingly lifelike visuals of today’s top games remain their principal function, GPUs have evolved to become more general-purpose parallel processors as well, handling a growing range of applications.

CPU vs GPU Computing

While GPUs can process data several orders of magnitude faster than a CPU due to massive parallelism, GPUs are not as versatile as CPUs. CPUs have large and broad instruction sets, managing every input and output of a computer, which a GPU cannot do. In a server environment, there might be 24 to 48 very fast CPU cores. Adding 4 to 8 GPUs to this same server can provide as many as 40,000 additional cores.

While individual CPU cores are faster (as measured by CPU clock speed) and smarter than individual GPU cores (as measured by available instruction sets), the sheer number of GPU cores and the massive amount of parallelism that they offer more than make up the single-core clock speed difference and limited instruction sets.

GPUs are best suited for repetitive and highly parallel computing tasks. Beyond video rendering, GPUs excel in machine learning, financial simulations, risk modeling, and many other types of scientific computations. While in years past, GPUs were used for mining cryptocurrencies such as Bitcoin or Ethereum, GPUs are generally no longer utilized at scale, giving way to specialized hardware such as Field-Programmable Grid Arrays (FPGA) and then Application-Specific Integrated Circuits (ASIC).

Can a System Have Both CPU and GPU?

A CPU (central processing unit) works together with a GPU (graphics processing unit) to increase the throughput of data and the number of concurrent calculations within an application. GPUs were originally designed to create images for computer graphics and video game consoles, but since the early 2010s, GPUs can also be used to accelerate calculations involving massive amounts of data.

A CPU can never be fully replaced by a GPU: a GPU complements CPU architecture by allowing repetitive calculations within an application to be run in parallel while the main program continues to run on the CPU. The CPU can be thought of as the taskmaster of the entire system, coordinating a wide range of general-purpose computing tasks, with the GPU performing a narrower range of more specialized tasks (usually mathematical). Using the power of parallelism, a GPU can complete more work in the same amount of time as compared to a CPU.

Applications of GPU

Today, graphics chips are being adapted to a wider variety of tasks than originally designed for, partially because modern GPUs are more programmable than they were in the past.

GPU Computing

Some examples of GPU use cases include:

  • GPUs can accelerate the rendering of real-time 2D and 3D graphics applications.
  • Video editing and the creation of video content have improved with GPUs. Video editors and graphic designers, for example, can use the parallel processing of a GPU to make the rendering of high-definition video and graphics faster.
  • Video game graphics have become more intensive computationally, so in order to keep up with display technologies — like 4K and high refresh rates –, emphasis has been put on high-performing GPUs.
  • GPUs can accelerate machine learning. With the high computational ability of a GPU, workloads such as image recognition can be improved.
  • GPUs can share the work of CPUs and train deep learning neural networks for AI applications. Each node in a neural network performs calculations as part of an analytical model. Programmers eventually realized that they could use the power of GPUs to increase the performance of models across a deep learning matrix — taking advantage of far more parallelism than is possible with conventional CPUs. GPU vendors have taken note of this and now create GPUs for deep learning uses in particular.
  • GPUs have also been used to mine bitcoin and other cryptocurrencies like Ethereum.

Conclusion

In this article, we described what GPU computing is and how it might be useful for you. And also about the different ways GPU computing can be used to help make work and processes easier and more efficient. Perhaps most importantly, we’ll saw some examples of how GPU computing has been used.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>