Files
YaeBlog/source/posts/hpc-2025-program-cuda.md
jackfiled 462fbb28ac
Some checks failed
Build blog docker image / Build-Blog-Image (push) Failing after 14s
feat: rewrite about page for 2026. (#21)
Signed-off-by: jackfiled <xcrenchangjun@outlook.com>
Reviewed-on: #21
2026-03-03 09:09:49 +00:00

43 lines
859 B
Markdown

---
title: High Performance Computing 25 SP Programming CUDA
date: 2025-08-31T13:50:53.6891520+08:00
tags:
- 高性能计算
- 学习资料
---
Compute Unified Device Architecture
<!--more-->
## CUDA
General purpose programming model:
- Use kicks off batches of threads on the GPU.
![image-20250515195739382](./hpc-2025-program-cuda/image-20250515195739382.webp)
The compiling C with CUDA applications:
![image-20250515195907764](./hpc-2025-program-cuda/image-20250515195907764.webp)
### CUDA APIs
Areas:
- Device management
- Context management
- Memory management
- Code module management
- Execution control
- Texture reference management
- Interoperability with OpenGL and Direct3D
Two APIs:
- A low-level API called the CUDA driver API.
- A higher-level API called the C runtime for CUDA that is implemented on top of the CUDA driver API.