当前位置:网站首页>[CUDA study notes] First acquaintance with CUDA
[CUDA study notes] First acquaintance with CUDA
2022-07-31 14:56:00 【Pastry chef learns AI】
Article table of contents
Foreword
This article is my study notes for the CUDA course, mainly for myself to review the past and learn new things in the future.It's an honor to be of any help to you.If you are a beginner in CUDA, please correct me if I am wrong.If there is any infringement, please contact the author to delete it.
I. What is GPU?
Graphics Processing Unit (English: Graphics Processing Unit, abbreviation: GPU; also known as display core, graphics card, visual processor, display chip or graphics chip) is a specialized computer, workstation, game console and some mobile devices.Microprocessors (such as tablets, smartphones, etc.) that perform drawing operations.
Second, what is CUDA?
CUDA (Compute Unified Device Architecture, unified computing architecture) is an integrated technology launched by NVIDIA, which is the company's solution to GPGPU (English: General-purpose computing on graphics processing units, referred to as GPGPU or GP²U))official name.Through this technology, users can use NVIDIA's GPU to perform operations other than image processing. It is also the first time that a GPU can be used as a development environment for a C-compiler.The CUDA development kit (CUDA Toolkit) can only compile its own CUDA C-language (only the function of linking to OpenCL), that is, the part executed on the GPU is compiled into the PTX intermediate language or the machine code of a specific NVIDIA GPU architecture (NVIDIA official nameIt is "device code"); and the C/C++ code (officially called "host code" by NVIDIA) that executes on the central processing unit still depends on an external compiler, such as Microsoft Visual Studio under Microsoft Windows; under Linux, it is mainlyDepends on GCC.
Three. Graphics card structure diagram
Below is a schematic of a newer graphics card (TESLA V1000).The green ones are all cores, with a total of more than 5,000 cores.
Fourth, CPU vs GPU
- GPU can be dozens of times faster than CPU: cpu: general computer has 4-8 cpu cores, desktop computers can reach 24; GPU: can reach 5, 6 thousand.runs very fast,
- GPUs have great potential for scientific computing.

V. Cooperation between CPU and GPU:
- The GPU is connected to the CPU through a high-speed interface: PCIe
- GPU as acceleration component.

Six, GPU application:

边栏推荐
猜你喜欢
随机推荐
安装Xshell并使用其进行Ymodem协议的串口传输
R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化箱图、使用font函数自定义图例标题文本(legend.title)字体的大小、颜色、样式(粗体、斜体)
Synchronized和volatile 面试简单汇总
QGIS 加载WMS数据,重新投影
Uniapp WeChat small application reference standard components
Word表格转到Excel中
格林美瑞交所IPO:募资3.8亿美元 更多中国企业将赴欧洲上市
Sentinel安装与部署
I summed up the bad MySQL interview questions
Unity Shader入门精要学习——透明效果
易驱线主控芯片对比(电动三轮电机90O瓦世纪通达)
DeepLab Series Learning
看交互设计如何集成到Scrum敏捷流程中
Redis与分布式:哨兵模式
leetcode303场周赛复盘
小试牛刀:Go 反射帮我把 Excel 转成 Struct
梅克尔工作室-第一次
redhat/openssl生成自签ca证书并使用
sentinel与nacos持久化
华医网冲刺港股:5个月亏2976万 红杉与姚文彬是股东








![MySQL [subquery]](/img/0b/9bbf54c500d85976e6d6776b6c6f13.png)
