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

边栏推荐
- NC | 斯坦福申小涛等开发数据可重复分析计算框架TidyMass
- Nuget package and upload tutorial
- 《微信小程序-进阶篇》Lin-ui组件库源码分析-Icon组件
- STM32(十)------- SPI通信
- OpenShift 4 - 用 Operator 部署 Redis 集群
- redhat/openssl generates a self-signed ca certificate and uses it
- Detailed guide to compare two tables using natural full join in SQL
- OpenShift 4 - Customize RHACS security policies to prevent production clusters from using high-risk registry
- MySQL 23道经典面试吊打面试官
- 49. The copy constructor and overloaded 】
猜你喜欢

TRACE32——常用操作

Spark学习(2)-Spark环境搭建-Local

Small test knife: Go reflection helped me convert Excel to Struct

Unity Shader入门精要学习——透明效果

什么是消息队列呢?

五个维度着手MySQL的优化

Asynchronous processing business using CompletableFuture

"Listen to me, thank you" can be said in ancient poetry?Tsinghua University has developed an artifact of "Searching Sentences According to Meaning", which can search for the famous sayings you want wi

自适应控制——仿真实验二 用Narendra方案设计模型参考自适应系统

Description of Hikvision camera streaming RTSP address rules
随机推荐
Combination series - there are combinations when there are arrangements
svn安装及使用(身体功能手册)
Selenium自动化中无头浏览器的应用
三角恒等变换公式
How to clean up the lodash.memoize cache in the element-plus virtual table virtual-list component?
梅克尔工作室-第一次
基于最小二乘法和SVM从天气预报中预测太阳能发电量(Matlab代码实现)
网线RJ45接口针脚[通俗易懂]
公告
UnityShader入门学习(一)——GPU与Shader
Synchronized和volatile 面试简单汇总
Introductory UnityShader learning (2) - the rendering pipeline
大健云仓冲刺美股:增营收反减利润 京东与DCM是股东
OAuth2:搭建授权服务器
自适应控制——仿真实验二 用Narendra方案设计模型参考自适应系统
《微信小程序-进阶篇》Lin-ui组件库源码分析-Icon组件
2021 OWASP TOP 10 漏洞指南
Redis与分布式:主从复制
小试牛刀:Go 反射帮我把 Excel 转成 Struct
架构实战营模块8消息队列表结构设计