CUDA 学习 简介--个人翻译

CUDA是Nvidia推出的并行计算API模型,它扩展了C语言,允许程序利用GPU的强大性能以提高计算效率。本文将介绍CPU中的并行性,包括指令级并行(ILP)、管道(pipelining)、超标量架构(Superscalar)以及超线程技术(Hyper-threading),阐述如何通过这些技术提升处理器性能。
摘要由CSDN通过智能技术生成

CUDA − Compute Unified Device Architecture. It is an extension of C programming, an API model for parallel computing created by Nvidia. Programs written using CUDA harness the power of GPU. Thus, increasing the computing performance.

CUDA - 计算机统一设备接口(直翻), 他是一个C语言编程的拓展(超集), 是英伟达创建的一个为了并行计算而创建的API模型. 是一个使用CUDA驱动GPU, 从而增加计算性能的程序.

Parallelism in the CPU

CPU并行

Gordon Moore of Intel once famously stated a rule, which said that every passing year, the clock frequency of a semiconductor core doubles. This law held true until recent years. Now, as the clock frequencies of a single core reach saturation points (you will not find a single core CPU with a clock frequency of say, 5GHz, even after 2 years from now), the paradigm has shifted to multi-core and many-core processors.

英特尔的创始人高登摩尔曾经说过这么一句话: 每过一年, 半导体核心的始终频率将会翻倍, 这条"法则"在近几年之前一直被证明是对的, 而现在 

In this chapter, we will study how parallelism is achieved in CPUs. This chapter is an essential foundation to studying GPUs (it helps in understanding the key differences between GPUs and CPUs).

Following are the five essential steps required for an instruction to finish −

Instruction fetch (IF)
Instruction decode (ID)
Instruction execute (Ex)
Memory access (Mem)
Register write-back (WB)
This is a basic five-stage RISC archite

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值