Algorithms For Dummies


PART 1   Getting Started



Download 7,18 Mb.
Pdf ko'rish
bet56/651
Sana15.07.2021
Hajmi7,18 Mb.
#120357
1   ...   52   53   54   55   56   57   58   59   ...   651
Bog'liq
Algorithms

 

   


  PART 1 

 Getting Started

Leveraging modern CPUs and GPUs

General-purpose processors, CPUs, started out as a means to solve problems using 

algorithms. However, their general-purpose nature also means that a CPU can 

perform a great many other tasks, such as moving data around or interacting with 

external devices. A general-purpose processor does many things well, which 

means that it can perform the steps required to complete an algorithm, but not 

necessarily  fast.  In  fact,  owners  of  early  general-purpose  processors  could  add 

math coprocessors (special math-specific chips) to their systems to gain a speed 

advantage (see 

http://www.computerhope.com/jargon/m/mathcopr.htm

 for 

details). Today, general-purpose processors have the math coprocessor embedded 



into them, so when you get an Intel i7 processor, you actually get multiple proces-

sors in a single package.

Interestingly enough, Intel still markets specialty processor add-ons, such as the 

Xeon Phi processor used with the Xeon chips (see 

http://www.intel.com/ 

content/www/us/en/processors/xeon/xeon-phi-detail.html

 and 

https://


en.wiki2.org/wiki/Intel_Xeon_Phi

 for details). You use the Xeon Phi chip 

alongside a Xeon chip when performing compute-intensive tasks such as machine 

learning (see Machine Learning For Dummies, by John Mueller and Luca Massaron, 

for details on how machine learning uses algorithms to determine how to perform 

various tasks that help you use data to predict the unknown and to organize infor-

mation meaningfully).

You may wonder why this section mentions Graphics Processing Units (GPUs). 

After all, GPUs are supposed to take data, manipulate it in a special way, and then 

display a pretty picture onscreen. Any computer hardware can serve more than 

one  purpose.  It  turns  out  that  GPUs  are  particularly  adept  at  performing  data 

transformations, which is a key task for solving algorithms in many cases. A GPU 

is a special-purpose processor, but one with capabilities that lend themselves to 

faster algorithm execution. It shouldn’t surprise you to discover that people who 

create algorithms spend a lot of time thinking outside the box, which means that 

they often see methods of solving issues in nontraditional approaches.

The point is that CPUs and GPUs form the most commonly used chips for per-

forming algorithm-related tasks. The first performs general-purpose tasks quite 

well, and the second specializes in providing support for math-intensive tasks, 

especially those that involve data transformations. Using multiple cores makes 

parallel processing (performing more than one algorithmic step at a time) possi-

ble. Adding multiple chips increases the number of cores available. Having more 

cores adds speed, but a number of factors keeps the speed gain to a minimum. 

Using two i7 chips won’t produce double the speed of just one i7 chip.




CHAPTER 1


Download 7,18 Mb.

Do'stlaringiz bilan baham:
1   ...   52   53   54   55   56   57   58   59   ...   651




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish