huiali/rust-skills/rust-gpu
Claude Code and agent skill by huiali/rust-skills
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
GPU 内存与计算专家。处理 CUDA, OpenCL, GPU memory, compute shader, memory coalescing, zero-copy, 显存管理, 异构计算--- # GPU 内存与计算 ## 核心问题 **如何在 Rust 中高效管理 GPU 内存和异构计算?** GPU 计算需要特殊的内存管理策略和同步机制。
Install
npx vskill@latest install huiali/rust-skills/rust-gpuSKILL.md
GPU 内存架构
内存类型对比
| 内存类型 | 位置 | 延迟 | 大小 | 用途 | |
|---|---|---|---|---|---|
| Global | VRAM | 高 | 大 | 输入/输出数据 | |
| Shared | SMEM | 低 | 小 | 线程块内通信 | |
| Constant | 缓存 | 中 | 中 | 只读数据 | |
| Local | 寄存器/VRAM | 高 | 小 | 线程私有 | |
| Register | SM | 最低 | 极小 | 线程私有 |
CUDA 内存管理 (rust-cuda)
零拷贝内存
统一内存 (Unified Memory)
内存合并访问
共享内存使用
内存对齐
性能优化检查表
| 优化项 | 检查点 | |
|---|---|---|
| 内存合并 | 线程访问连续内存 | |
| 共享内存 | 减少全局内存访问 | |
| 内存对齐 | 256 字节对齐 | |
| 异步操作 | 计算与传输重叠 | |
| 固定内存 | 使用页锁定内存 | |
| 批处理 | 减少内核启动开销 |
与其他技能关联
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rust-gpu/SKILL.md
Popularity
- Repository stars
- 20
- Repository forks
- 4
- 7-day trend score
- 15
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/huiali/rust-skills/rust-gpu)