<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>GPU on MT&#39;s blog</title>
    <link>https://rmtt.github.io/zh/categories/gpu/</link>
    <description>Recent content in GPU on MT&#39;s blog</description>
    <generator>Hugo</generator>
    <language>zh</language>
    <lastBuildDate>Tue, 11 Feb 2020 22:19:39 +0800</lastBuildDate>
    <atom:link href="https://rmtt.github.io/zh/categories/gpu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>GPU 基础知识</title>
      <link>https://rmtt.github.io/zh/posts/gpu-basic/</link>
      <pubDate>Tue, 11 Feb 2020 22:19:39 +0800</pubDate>
      <guid>https://rmtt.github.io/zh/posts/gpu-basic/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;因为最近要写一篇GPU方面的论文，所以找了一些资料慢慢看&lt;/p&gt;
&lt;p&gt;参考：&lt;a href=&#34;https://ieeexplore.ieee.org/abstract/document/5424433/&#34;&gt;GPU Technology Trends and Future Requirements&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;虽然是多年前的文章，不过讲得很细～&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;gpu的发展&#34;&gt;GPU的发展&lt;/h2&gt;
&lt;p&gt;GPU的基本功能是处理图形，从最初单一的pipeline发展到现在，已经能够完成很多通用的计算任务，而且拥有远超CPU的并行计算能力。&lt;/p&gt;
&lt;h2 id=&#34;gpu基本知识&#34;&gt;GPU基本知识&lt;/h2&gt;
&lt;p&gt;GPU接受的数据应该是一系列的Vertex(保存坐标信息)和Attributes(保存颜色、亮度等信息)，Vertex由专门的vertex shader处理，Attribute由pixel shader处理，shader就是GPU中的一个子程序。经过一系列的shaer处理后，最初的几何数据便会成功最终的像素合并到Frame Buffer中。&lt;/p&gt;
&lt;h2 id=&#34;gpu基础架构&#34;&gt;GPU基础架构&lt;/h2&gt;
&lt;p&gt;&lt;img alt=&#34;GPU基础架构&#34; loading=&#34;lazy&#34; src=&#34;https://blog-img.rmtt.fun/posts/gpu-basic/architecture.jpg&#34;&gt;&lt;/p&gt;
&lt;p&gt;从架构图可以比较容易看出，基本的工作方式就是通过BUS传输数据，然后GPU中一些shader讲计算任务分发给各个TPC。至于其中各个组件的作用，见下面的MindMap。&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;MindMap&#34; loading=&#34;lazy&#34; src=&#34;https://blog-img.rmtt.fun/posts/gpu-basic/mindmap.png&#34;&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
