amd-rocm
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseamd-rocm
amd-rocm
AMD ROCm — Instinct/Radeon GPU 上で汎用並列計算を行うためのソフトウェアスタック。
HIP プログラミングモデル・ランタイム API によるカーネル記述、rocBLAS/MIOpen/RCCL 等のライブラリ、
CDNA/RDNA アーキテクチャ向けチューニングをカバーする。
AMD ROCm — 用于在Instinct/Radeon GPU上进行通用并行计算的软件栈。涵盖基于HIP编程模型与运行时API的内核编写、rocBLAS/MIOpen/RCCL等库、针对CDNA/RDNA架构的调优内容。
ディレクトリ構成
目录结构
text
skills/amd-rocm/
SKILL.md
references/
rocm-stack/
README.md
what-is-rocm.md
core-sdk-overview.md
math-compute-libraries.md
communication-libraries.md
runtime-and-compilers.md
profiling-debugging-tools.md
control-monitoring-tools.md
media-storage-libraries.md
install-linux.md
install-deep-learning-frameworks.md
install-docker-spack.md
install-windows.md
compatibility-and-release-history.md
ai-ecosystem.md
gpu-systems-infra.md
toolkits.md
hip/
README.md
programming-model.md
hardware-implementation.md
compilers-clr.md
performance-guidelines.md
cpp-language-extensions.md
kernel-language-cpp-support.md
hiprtc.md
debugging-logging.md
runtime-api-overview.md
initialization-version.md
device-management.md
error-handling.md
stream-management.md
event-management.md
asynchronous-execution.md
execution-control-launch.md
occupancy.md
module-context-management.md
memory-management.md
host-memory.md
device-memory.md
unified-memory.md
virtual-memory.md
stream-ordered-allocator.md
texture-surface.md
graph-management.md
cooperative-groups.md
multi-device-peer-to-peer.md
interop.md
porting-cuda-to-hip.md
cuda-to-hip-api-comparison.md
hipify.md
math-api.md
env-variables.md
deprecated-apis.md
hardware-features.md
gpu-arch/
README.md
gpu-architecture-overview.md
gpu-arch-specs.md
cdna-architecture.md
rdna-architecture.md
performance-optimization-guides.md
mi100-microarchitecture.md
mi250-microarchitecture.md
mi300-microarchitecture.md
precision-support.md
mi300-mi200-performance-counters.md
mi350-performance-counters.md
isa-documentation.md
machine-readable-isa.md
samples/
README.md
vector-add-kernel.md
explicit-memory-transfer.md
shared-memory-tiled-matmul.md
dynamic-shared-memory.md
unified-memory.md
stream-ordered-allocation.md
stream-overlap.md
hip-graph-stream-capture.md
hip-graph-explicit-nodes.md
cooperative-groups-reduction.md
warp-shuffle-reduction.md
multi-gpu-peer-to-peer.md
occupancy-tuning.md
hipify-cuda-to-hip.md
event-timing.md
device-query.md
hiprtc-runtime-compilation.md
rocblas-gemm.md
scripts/
README.md
install.md
hipcc-build.md
hipify.md
gpu-query.md
profiling.md
debug.md
sanitize.md
frameworks.md
validation.mdtext
skills/amd-rocm/
SKILL.md
references/
rocm-stack/
README.md
what-is-rocm.md
core-sdk-overview.md
math-compute-libraries.md
communication-libraries.md
runtime-and-compilers.md
profiling-debugging-tools.md
control-monitoring-tools.md
media-storage-libraries.md
install-linux.md
install-deep-learning-frameworks.md
install-docker-spack.md
install-windows.md
compatibility-and-release-history.md
ai-ecosystem.md
gpu-systems-infra.md
toolkits.md
hip/
README.md
programming-model.md
hardware-implementation.md
compilers-clr.md
performance-guidelines.md
cpp-language-extensions.md
kernel-language-cpp-support.md
hiprtc.md
debugging-logging.md
runtime-api-overview.md
initialization-version.md
device-management.md
error-handling.md
stream-management.md
event-management.md
asynchronous-execution.md
execution-control-launch.md
occupancy.md
module-context-management.md
memory-management.md
host-memory.md
device-memory.md
unified-memory.md
virtual-memory.md
stream-ordered-allocator.md
texture-surface.md
graph-management.md
cooperative-groups.md
multi-device-peer-to-peer.md
interop.md
porting-cuda-to-hip.md
cuda-to-hip-api-comparison.md
hipify.md
math-api.md
env-variables.md
deprecated-apis.md
hardware-features.md
gpu-arch/
README.md
gpu-architecture-overview.md
gpu-arch-specs.md
cdna-architecture.md
rdna-architecture.md
performance-optimization-guides.md
mi100-microarchitecture.md
mi250-microarchitecture.md
mi300-microarchitecture.md
precision-support.md
mi300-mi200-performance-counters.md
mi350-performance-counters.md
isa-documentation.md
machine-readable-isa.md
samples/
README.md
vector-add-kernel.md
explicit-memory-transfer.md
shared-memory-tiled-matmul.md
dynamic-shared-memory.md
unified-memory.md
stream-ordered-allocation.md
stream-overlap.md
hip-graph-stream-capture.md
hip-graph-explicit-nodes.md
cooperative-groups-reduction.md
warp-shuffle-reduction.md
multi-gpu-peer-to-peer.md
occupancy-tuning.md
hipify-cuda-to-hip.md
event-timing.md
device-query.md
hiprtc-runtime-compilation.md
rocblas-gemm.md
scripts/
README.md
install.md
hipcc-build.md
hipify.md
gpu-query.md
profiling.md
debug.md
sanitize.md
frameworks.md
validation.md探索手順
探索步骤
タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:
- 下記マッピング表でタスクに対応するカテゴリを探す
- そのカテゴリの (
references/{category}/README.mdsamples/は直下の README.md)を参照して目的のページを特定するscripts/ - 該当ページの を Read して詳細を確認する
.md
CUDA C++/Python によるカーネル記述・PTX ISA 命令セット・CUTLASS/CuTe による GEMM 実装は スキルを参照。
本スキルは HIP プログラミングモデル・ランタイム API・ROCm ライブラリ群・CDNA/RDNA アーキテクチャを担当する。
HIP は CUDA API と 1:1 に近い命名を持つため( ↔ 等)、
と に CUDA との対応・移行手順をまとめている。
nvidia-cudahipMalloccudaMallocreferences/hip/cuda-to-hip-api-comparison.mdreferences/hip/porting-cuda-to-hip.md从任务对应到分类,通过分类的README.md确定目标页面:
- 参考下方映射表找到任务对应的分类
- 查看该分类的(
references/{category}/README.md和samples/直接查看目录下的README.md)确定目标页面scripts/ - 阅读对应页面的文档查看详细内容
.md
基于CUDA C++/Python的内核编写、PTX ISA指令集、CUTLASS/CuTe实现的GEMM请参考技能。本技能负责HIP编程模型、运行时API、ROCm库集合、CDNA/RDNA架构相关内容。
HIP的命名与CUDA API近乎1:1对应(例如 ↔ ),因此和中整理了与CUDA的对应关系及迁移步骤。
nvidia-cudahipMalloccudaMallocreferences/hip/cuda-to-hip-api-comparison.mdreferences/hip/porting-cuda-to-hip.mdタスク → カテゴリ マッピング
任务 → 分类 映射表
| タスク | カテゴリ | 参照 README |
|---|---|---|
| ROCm スタック全体像・Core SDK と Extras の違い・TheRock ビルドシステムを知りたい | rocm-stack | references/rocm-stack/README.md |
| rocBLAS/MIOpen/RCCL 等の数値計算・通信ライブラリ、プロファイリング/監視ツール(rocprofv3, amd-smi)を調べたい | rocm-stack | references/rocm-stack/README.md |
| Linux/Windows へのインストール手順・PyTorch/TensorFlow/JAX 導入・GPU/OS 互換性を知りたい | rocm-stack | references/rocm-stack/README.md |
| HIP プログラミングモデル・カーネル記述・C++ 言語拡張・HIPRTC ランタイムコンパイルを調べたい | hip | references/hip/README.md |
| HIP ランタイム API(デバイス/ストリーム/イベント/メモリ管理、HIP Graph、Cooperative Groups)を調べたい | hip | references/hip/README.md |
| CUDA から HIP への移植・hipify によるコード変換・CUDA↔HIP API 対応表を知りたい | hip | references/hip/README.md |
| CDNA/RDNA アーキテクチャ設計・MI100/MI250/MI300 マイクロアーキテクチャ・ISA/性能カウンタを調べたい | gpu-arch | references/gpu-arch/README.md |
| 典型的な使い方を知りたい(vector add, HIP Graph, rocBLAS GEMM, hipify 変換等) | samples | samples/README.md |
| インストール・hipcc ビルド・rocminfo/amd-smi・rocprofv3 プロファイリング・rocgdb デバッグコマンドを知りたい | scripts | scripts/README.md |
| 任务 | 分类 | 参考README |
|---|---|---|
| 了解ROCm栈整体架构、Core SDK与Extras的区别、TheRock构建系统 | rocm-stack | references/rocm-stack/README.md |
| 调研rocBLAS/MIOpen/RCCL等数值计算、通信库,以及性能分析/监控工具(rocprofv3, amd-smi) | rocm-stack | references/rocm-stack/README.md |
| 了解Linux/Windows安装步骤、PyTorch/TensorFlow/JAX部署、GPU/OS兼容性 | rocm-stack | references/rocm-stack/README.md |
| 调研HIP编程模型、内核编写、C++语言扩展、HIPRTC运行时编译 | hip | references/hip/README.md |
| 调研HIP运行时API(设备/流/事件/内存管理、HIP Graph、Cooperative Groups) | hip | references/hip/README.md |
| 了解从CUDA迁移到HIP、通过hipify进行代码转换、CUDA↔HIP API对应表 | hip | references/hip/README.md |
| 调研CDNA/RDNA架构设计、MI100/MI250/MI300微架构、ISA/性能计数器 | gpu-arch | references/gpu-arch/README.md |
| 了解典型使用场景(向量加法、HIP Graph、rocBLAS GEMM、hipify转换等) | samples | samples/README.md |
| 了解安装、hipcc构建、rocminfo/amd-smi、rocprofv3性能分析、rocgdb调试命令 | scripts | scripts/README.md |