CUDA核心和CPU核心之间有什么区别? [英] What is the difference between CUDA core and CPU core?

查看:1924
本文介绍了CUDA核心和CPU核心之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到这个问题的任何正确的答案。

I couldn't find any decent answer to this question.

我使用Cuda工作了一点,和CPU很多,我试图了解两者之间的区别,我的I5处理器有4个核心,成本为200美元,我的NVidia 660有960个核心,成本大致相同。

I worked a bit with Cuda, and a lot with the CPU, and i'm trying to understand what is the difference between the two, my I5 processor has 4 cores and cost 200$ and my NVidia 660 has 960 cores and cost about the same.

这意味着这两种类型的核心是完全不同的,如果有人能解释2个处理单元架构在能力优缺点方面的关键差异,我真的很高兴,例如Cuda核心有分支预测?

Which means that this two types of cores are completely different from one another, I would be really happy if someone could explain what are the key differences between the 2 processing units architecture in terms of abilities pros and cons, for example does Cuda cores has branch prediction ?

推荐答案

这是一个计算机架构问题,需要一个很长的答案。我会尽量保持它非常简单的风险是不准确。
你基本上是自我回答你的问题,通过要求做CUDA核心句柄分支预测的答案是否定的。
a CPU内核必须处理计算机执行的每个单独操作,计算,存储器获取,IO,中断,因此它具有巨大的复杂指令集,并且优化提取指令分支预测的速度。

也有一个大的缓存和快速时钟速率。
为了实现指令集,您需要更多的逻辑,因此与GPU相比,每个核心的成本更高。

it is a computer Architecture question which entails a long answer. I will try to keep it very simple on the risk of being inaccurate. you basically self-answered your question by asking do CUDA core handle branch prediction the answer is NO . a CPU core has to handle each single operation a computer does , calculation, memory fetching , IO , interrupts, therefore it has a huge complex instruction set, and to optimize the speed of fetching instruction branch prediction is used.
also it has a big cache and fast clock rate. To implement the instruction set you need more logic thus more transistors more cost per core compared to the GPU.

GPU核心具有更少的高速缓存存储器,更简单的指令和每个时钟更少的时钟速率,但是它们被优化以作为一组进行更多的计算。
简单指令集,缓存内存越少,每个核心的成本越低。

the GPU cores have less cache memory , simpler instruction and less clock rate per clock, however they are optimized to do more calculation as a group . the simple instructions set, the less cache memory makes them less expensive per core.

这篇关于CUDA核心和CPU核心之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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