0% found this document useful (0 votes)
45 views4 pages

Quiz3 - Pacuribot

Relationship of GPU and CPU Tasks GPU and CPU shared and not Create a Venn diagram that shows basic functions and operations of CPU and GPU
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views4 pages

Quiz3 - Pacuribot

Relationship of GPU and CPU Tasks GPU and CPU shared and not Create a Venn diagram that shows basic functions and operations of CPU and GPU
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CPU VS GPU

Relationship of GPU and CPU


Tasks GPU and CPU shared and not
Create a Venn diagram that shows basic
functions and operations of CPU and GPU
How CPU and GPU Work Together

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 2010’s, 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.
Difference Between CPU and GPU

The main difference between CPU and GPU architecture is that a CPU is
designed to handle a wide-range of tasks quickly (as measured by CPU clock
speed), but are limited in the concurrency of tasks that can be running. A GPU is
designed to quickly render high-resolution images and video concurrently.

Because GPUs can perform parallel operations on multiple sets of data, they
are also commonly used for non-graphical tasks such as machine learning and
scientific computation. Designed with thousands of processor cores running
simultaneously, GPUs enable massive parallelism where each core is focused on
making efficient calculations.

Examples of CPU to GPU Computing

CPU and GPU rendering video — The graphics card helps transcode video
from one graphics format to another faster than relying on a CPU.

Accelerating data — A GPU has advanced calculation ability that accelerates


the amount of data a CPU can process in a given amount of time. When there
are specialized programs that require complex mathematical calculations,
such as deep learning or machine learning, those calculations can be offloaded
by the GPU. This frees up time and resources for the CPU to complete other
tasks more efficiently.

Cryptocurrency mining — Obtaining virtual currencies like Bitcoin includes


using a computer as a relay for processing transactions. While a CPU can
handle this task, a GPU on a graphics card can help the computer generate
currency much faster.
CPU GPU
While GPUs can process data GPUs are best suited for
several orders of magnitude repetitive and highly-parallel
faster than a CPU due to computing tasks. Beyond
massive parallelism, GPUs are video rendering, GPUs excel
not as versatile as CPUs. in machine learning, financial
CPUs have large and broad simulations and risk
instruction sets, managing modeling, and many other
every input and output of a types of scientific
computer, which a GPU computations.While in years
cannot do. In a server past, GPUs were used for
environment, there might be mining cryptocurrencies such
24 to 48 very fast CPU cores. as Bitcoin or Ethereum, GPUs
Adding 4 to 8 GPUs to this are generally no longer
same server can provide as utilized at scale, giving way to
many as 40,000 additional specialized hardware such as
cores. While individual CPU Field-Programmable Grid
cores are faster (as measured Arrays (FPGA) and then
by CPU clock speed) and Application Specific
smarter than individual GPU Integrated Circuits (ASIC).
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.

Reference: https://www.omnisci.com/technical-
glossary/cpu-vs-gpu

You might also like