What’s the Difference Between a CPU and a GPU?
The CPU (central processing unit) has often been called the brains of the PC.
But increasingly, that brain is being enhanced by another part of the PC – the GPU (graphics processing unit), which is its soul.
All PCs have chips芯片 that render the display images to monitors.
But not all these chips are created equal.
Intel’s integrated graphics controller provides basic graphics that can display only productivity applications like Microsoft PowerPoint, low-resolution video and basic games.
The GPU is in a class by itself – it goes far beyond basic graphics controller functions, and is a programmable and powerful computational device in its own right.
二 javascript:void(0) 文章内有图片
CPU和GPU之所以大不相同,是由于其设计目标的不同,它们分别针对了两种不同的应用场景。
CPU需要很强的通用性来处理各种不同的数据类型,同时又要逻辑判断又会引入大量的分支跳转和中断的处理。这些都使得CPU的内部结构异常复杂。
而GPU面对的则是类型高度统一的、相互无依赖的大规模数据和不需要被打断的纯净的计算环境。
GPU采用了数量众多的计算单元和超长的流水线,但只有非常简单的控制逻辑并省去了Cache。
而CPU不仅被Cache占据了大量空间,而且还有有复杂的控制逻辑和诸多优化电路,相比之下计算能力只是CPU很小的一部分
所以与CPU擅长逻辑控制,串行的运算。和通用类型数据运算不同,GPU擅长的是大规模并发计算,这也正是密码破解等所需要的。所以GPU除了图像处理,也越来越多的参与到计算当中来。
三 如何查看显卡
GPU是显卡的核心
3.1 显卡
3.1.1
我的电脑,属性,设备管理器,
3.1.2
win+r然后输入dxdiag
3.2 cpu