zoukankan      html  css  js  c++  java
  • CPU和GPU的区别

    一  https://blogs.nvidia.com/blog/2009/12/16/whats-the-difference-between-a-cpu-and-a-gpu/

    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.

    二  http://www.cnblogs.com/biglucky/p/4223565.html  文章内有图片

    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

  • 相关阅读:
    React全家桶+AntD 共享单车后台管理系统开发
    eclipse中通过Properties Editor插件查看配置文件中Unicode内容
    修改eclipse的编码格式
    后端接收前端数据中文乱码解决方案
    MySQL基础
    wordpress个人常用标签调用
    4gl游标cursor
    尝试写一写4gl与4fd
    foreach循環體控制
    保护wordpress后台登录地址
  • 原文地址:https://www.cnblogs.com/chucklu/p/7878763.html
Copyright © 2011-2022 走看看