当前位置:网站首页>[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:

边栏推荐
猜你喜欢
随机推荐
Five dimensions to start MySQL optimization
Uniapp WeChat small application reference standard components
《微信小程序-进阶篇》Lin-ui组件库源码分析-Icon组件
Introductory UnityShader learning (2) - the rendering pipeline
[Pytorch] torch.argmax() usage
Redis与分布式:哨兵模式
C language basic practice (nine-nine multiplication table) and printing different asterisk patterns
[QNX Hypervisor 2.2 User Manual] 9.13 rom
MANIFEST.MF文件(PDB文件)
R语言ggstatsplot包ggbarstats函数可视化条形图、并添加假设检验结果(包含样本数、统计量、效应大小及其置信区间、显著性、组间两两比较、贝叶斯假设)、检验结果报告符合APA标准
Recommendation System - Recall Phase - 2013: DSSM (Twin Towers Model) [Embedding (Semantic Vector) Recall] [Microsoft]
大健云仓冲刺美股:增营收反减利润 京东与DCM是股东
NC | 斯坦福申小涛等开发数据可重复分析计算框架TidyMass
ASP.NET Core 产生连续 Guid
如何进行需求分析评审
OpenShift 4 - Deploy Redis Cluster with Operator
我把问烂了的MySQL面试题总结了一下
[QNX Hypervisor 2.2 User Manual]9.14 safety
Resnet&API
OAuth2:搭建授权服务器









