SIMD是什么意思? [英] What does SIMD mean?

查看:173
本文介绍了SIMD是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从《威廉·斯托林斯》(William Stallings)写的《操作系统内部和设计原理》一书中读到,GPU是针对多个数据的单指令,但我没有理解它的含义.我在google中搜索并得到了这个假设,我不确定它是对还是错,那就是:

I have read from the book "Operating System Internals and Design Principles" written by "William Stallings" that GPUs are Single-Instruction on Multiple Data, I don't get it what it means. I searched in google and got this assumption which I am not sure if it is right or wrong and that is:

  • SIMD GPU意味着GPU仅处理一系列数据(例如游戏)上的一条指令,GPU仅负责游戏的图形表示,其余的计算由CPU完成,这是真的.

推荐答案

在GPU的上下文中,SIMD是一种硬件体系结构,因此可以同时进行(并行)计算(一条指令的执行),但是只有一个在给定的时间处理(指令).

In the context of GPU's, SIMD is a type of hardware architecture such that there are simultaneous (parallel) computations (Execution of an instruction), but only a single process (instruction) at a given moment.

从原理上讲,SIMD体系结构可以绘制如下:

Schematically, the SIMD architecture can be drawn as the following:

(维基百科的信用额: https://en.wikipedia.org/wiki/SIMD)

(credit for wikipedia: https://en.wikipedia.org/wiki/SIMD)

在我们的上下文中,数据池是GPU内存&PU是处理单元或执行单元(在NVidia的GPU术语中为Cuda核心).底线-GPU的单个内核可以对不同的数据同时执行相同的指令.

Data Pool in our context is the GPU memory & PU is a processing unit or execution unit (Cuda core in NVidia's GPU terms). Bottom line - a single core of GPU can execute simultaneously the same instruction over different data.

这篇关于SIMD是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆