作用cpu与gpu的作用和位置分析(Role and position analysis of CPU and GPU)

cpu的作用  时间:2021-03-16  阅读:()

cpu与gpu的作用和位置分析Role and position analysis of CPUand GPU

The effect of CPU: CPU as the core of a computer, it proved tobe irreplaceable, this is the past, today is still such, thefuture should be like this, but may be increased and endowedwith more complex function. Why is CPU able to control the coreof a computer and manage a complex and sophisticated computersystem with ease? Why can CPU be properly termed "brain" ofcomputers rather than other components?This is because CPU isdesigned primarily for the execution of operating systems,system software, scheduling and running a wide variety ofapplications, and for coordinating and controlling the entirecomputer system. CPU has a universal characteristic, which is"man" or "generalist", what should be, but this doesn't meanthat CPU each task has a top level.

The integration of millions, tens of millions or even hundredsof millions of transistors, CPU chip, in addition to computingpower circuit and structure, also has a central controller andthe other hardware circuit with the circuit structure andmodern CPU also has more thinking ability, such as logic,speculative execution, prediction of execution and so on. Onlywith these qualities will CPU be able to work as a "brain" forc omputers.

So what does CPU rely on for thought, command, and control?Theanswer is the instruction set. Instruction set is the set ofall CPU instruction processing, no instruction set chip couldnot be called CPU, but that is the CPU instruction set thinkinglanguage, CPU is the "smart", it is also a basic attribute

different from other chips. Similar to the human brain,involved in the thinking process of any man' s language, Chinesewith Chinese thinking, Americans English thinking, if used tospeak dialect, dialect people even think, people in thesubconscious instinct or conditions are most familiar withtheir own language thinking. The instruction set is the brainCPU language of the computer, and the CPU uses the instructionset to "think"".

The familiar x86 instruction set is the language of CPU thatmost of us use today, and the x86 instruction set was invented,developed, and continuously improved by Intel. All Intelarchitectures of CPU and CPU are compatible with the x86instruction set. Any program, written in any high-levelprogramming language, needs to be translated into x86instructions by a high-level language compiler or interpreterbefore it can be executed by CPU.

Such as C language, C++ language, Pascal language, advancedprogramming language is for programmers to use, people canexpress their thoughts and instruction through the high-levelprogramming language, can understand the instructions by thecompiler or interpreter into CPU, CPU can follow people"thinking and instruction" implementation of hundred-percent,strict in demands. In fact, compilers and interpreters areexecuted by CPU.

With the instruction system, CPU can control, command,coordinate and schedule the subsystems of the whole computersystem, so that they can cooperate with each other andaccomplish all kinds of tasks in an orderly way.

The role of GPU: in addition to CPU (central processing unit,also known as the central processing unit) , the computer systemalso has many PU - processing units, collectively referred toas xPU. Since they do not have the versatility of CPU, they areproprietary, and are customarily called controllers or chips.Such as memory controller, interrupt controller, Ethernet chip,USB controller and so on, although the term is not common, butwe can still put them into Memory PU, also called: InterruptPU memory processing unit -interrupt processing unit EthernetPU - USB-PU - USB Ethernet processing unit processing unitSo it' s no wonder that graphics chips, which are more graphiccomputing power, are called GPU, or graphics processing units.GPU has the characteristics of specificity and is good atgraphic calculation and processing.

The predecessor of GPU is the main chip of display card. Displaycards and displays, etc. , form a graphics subsystem in acomputer system.

The earliest display card function is relatively simple, soalso called display adapter card (referred to as video card) ,it is connected to the host and display interface card. Now thegraphics cards are 3D graphics acceleration card, the main chiphas also been dubbed GPU' s new name.

Today, there is no fundamental change in the main function ofthe video card, and its role is to transfer the outputinformation and instructions of CPU to characters, graphics andcolors, which are transmitted to the display. However, today' s

graphics cards are more capable of executing and computinggraphics when performing graphical instructions from CPU. Nowlet me explain to you.

Early graphics graphics processing ability is very weak,basically just to play the role of transfer CPU, if you wantto draw a simple graphics in graphic mode such as square, parkline graph, both need to position, each consisting of graphicsto display the size, color are all told graphics, graphics andfollow the prescribed order drawn on the display.

With the operating system and the application of complex andhigh quality graphics have become increasingly demanding,full-time CPU to do the graphics processing work hard, also lowefficiency but also The loss outweighs the gain. , cause CPU.Because CPU is designed to handle system tasks and programscheduling, not for graphics processing optimization.As a result, graphics acceleration has been given to newgraphics cards (now the main chip can be called GPU) , andgraphics cards that support 2D graphics acceleration haveemerged, greatly reducing the graphics processing pressure ofCPU. A 2D accelerated graphics card, CPU if you want to drawtwo-dimensional graphics, now only need to send a command tothe graphics card, such as "in the coordinates (x, y) to drawa length and width is a*B size of the rectangle, the graphicsgraphics accelerator (GPU) can draw with the size of theposition the graphics quickly on the display, after drawing GPUCPU notice, " I have finished, and then wait for the nextinstruction from CPU graphics.

In addition to the 2D graphics acceleration feature, the GPUnow has the capability to continuously accelerate 3D graphicsacceleration. Similarly, GPU is also the complicated 3Dgraphics processing work share from CPU over the CPU now as acommand, such as "draw a ball", to GPU, GPU to completethree-dimensional graphics rendering, and then notify the CPUfinish, waiting for the next instruction.

With a graphics accelerator, CPU is freed from the task ofgraphical processing, and can perform other more system tasks,thus improving the overall performance of the computer.However, not all 3D and graphics related operations at GPU isover, "task" transition is also gradually, for the calculationof GPU can not be achieved or not yet implemented or "work" tocomplete CPU. For example, the geometric coordinates of thegraph changes and the computation of the illumination model(T&L) are implemented in the mainstream GPU, which waspreviously done by CPU. For some of the current GPU integratedin the chipset, if there is no T&L acceleration, the T&Lcalculation is still implemented in software -- CPU. Inaddition, the coloring calculation of 3D graphics is graduallyshifted from CPU to GPU, such as vertex coloring and pixelcoloring (Vertex Shader & Pixel Shader) .

From the brief introduction of the above we can see that thefocus of the work of CPU and GPU are not the same, CPUresponsibility is much larger, with the whole computer system,to take care of all aspects, in addition to guarantee thehigh-speed operation of the whole system, but also to ensurethe stable operation of the system. Any mistake can be fatal,

so it' s hard for CPU to focus". It will often be interrupted,stop the work at hand, deal with normal or abnormal emergencytasks, otherwise the system will crash. Compared to CPU, GPU' sresponsibility to be lighter and more, if the graphicalcalculation is wrong, and run the program itself does not affectthe most, is displayed on the screen or the color graphicsdislocation chaos and so on, and is not responsible for GPUgraphics program results.

There is no GPU acceleration 2D and 3D' s, CPU swept and computergraphics all living and accelerated the "live" is not easy,today many of these jobs are GPU to do, CPU was liberated theCPU operation and control of valuable resources for more up thecore task execution system and the application of other non GPUclass. GPU is equivalent to a senior assistant at CPU withgraphics computing and processing expertise.

For non graphical tasks, CPU requires a high-level assistantfor other specialties. GPU' s contribution to the computersystem today is mainly the three-dimensional graphics ofhigh-end 3D games, and it is powerless for other broaderapplications. Such as system security encryption anddecryption, processing and processing of multimedia digitalcontent, virtual system, artificial intelligence and so on toonumerous to mention in the game.

In the future, I' ll detail some aspects of "CPU" and "GPU" aregood and not good at it".

This article is from BLOG @ Intel China. For more information,please click here

Brief introduction of the author

Zhao Jun graduated from the Department of computer science ofPeking University in June 1995 with a master' s degree incomputer science. He later taught at the Peking University' sDepartment of information management until June 1997.Zhao Jun joined Intel in July 1997 as a computer platformtechnical engineer. From 2000 to 2003, he served as a seniortechnical engineer in Intel China' s OEM division, and won theIntel achievement award in 2001".

Since October 2003 October ~2006, Zhao Jun has been in theleading technology sales division of the Intel marketing group,serving as engineering and technical manager and technicalmarketing manager. Since November 2006, he has been a seniorArchitecture Manager at the advanced technology support andservices division.

Company informat ion:

Intel Intel

7月RAKsmart独立服务器和站群服务器多款促销 G口不限量更低

如果我们熟悉RAKsmart商家促销活动的应该是清楚的,每个月的活动看似基本上一致。但是有一些新品或者每个月还是有一些各自的特点的。比如七月份爆款I3-2120仅30美金、V4新品上市,活动期间5折、洛杉矶+硅谷+香港+日本站群恢复销售、G口不限流量服务器比六月份折扣力度更低。RAKsmart 商家这个月依旧还是以独立服务器和站群服务器为主。当然也包括有部分的低至1.99美元的VPS主机。第一、I...

SunthyCloud阿里云国际版分销商注册教程,即可PayPal信用卡分销商服务器

阿里云国际版注册认证教程-免绑卡-免实名买服务器安全、便宜、可靠、良心,支持人民币充值,提供代理折扣简介SunthyCloud成立于2015年,是阿里云国际版正规战略级渠道商,也是阿里云国际版最大的分销商,专业为全球企业客户提供阿里云国际版开户注册、认证、充值等服务,通过SunthyCloud开通阿里云国际版只需要一个邮箱,不需要PayPal信用卡就可以帮你开通、充值、新购、续费阿里云国际版,服务...

Friendhosting(月1.35欧元),不限流量,9机房可选

今天9月10日是教师节,我们今天有没有让孩子带礼物和花送给老师?我们这边不允许带礼物进学校,直接有校长在门口遇到有带礼物的直接拦截下来。今天有看到Friendhosting最近推出了教师节优惠,VPS全场45折,全球多机房可选,有需要的可以看看。Friendhosting是一家成立于2009年的保加利亚主机商,主要提供销售VPS和独立服务器出租业务,数据中心分布在:荷兰、保加利亚、立陶宛、捷克、乌...

cpu的作用为你推荐
brandoff国际大牌包包都有哪些呐?硬盘工作原理高人指点:电子存储器(U盘,储存卡,硬盘等)的工作原理冯媛甑夏如芝是康熙来了的第几期?rawtools相机中的RAW是什么意思?月神谭适合12岁男孩的网名,要非主流的,帮吗找找,谢啦月神谭求男变女类的变身小说同ip域名不同的几个ip怎样和同一个域名对应上长尾关键词挖掘工具怎么挖掘长尾关键词,可以批量操作的那种www.765.com有没好的学习网站www.zjs.com.cn怎么查询我的平安信用卡寄送情况
拜登买域名批特朗普 132邮箱 新世界机房 hostmonster 台湾服务器 pccw 轻量 北京主机 丹弗 dux 国外代理服务器软件 php空间购买 免费cdn 512mb 石家庄服务器托管 工信部icp备案查询 好看的空间 privatetracker windowssever2008 架设代理服务器 更多