amd-rocm

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

amd-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.md
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.md

探索手順

探索步骤

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:
  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの
    references/{category}/README.md
    samples/
    scripts/
    は直下の README.md)を参照して目的のページを特定する
  3. 該当ページの
    .md
    を Read して詳細を確認する
CUDA C++/Python によるカーネル記述・PTX ISA 命令セット・CUTLASS/CuTe による GEMM 実装は
nvidia-cuda
スキルを参照。 本スキルは HIP プログラミングモデル・ランタイム API・ROCm ライブラリ群・CDNA/RDNA アーキテクチャを担当する。 HIP は CUDA API と 1:1 に近い命名を持つため(
hipMalloc
cudaMalloc
等)、
references/hip/cuda-to-hip-api-comparison.md
references/hip/porting-cuda-to-hip.md
に CUDA との対応・移行手順をまとめている。
从任务对应到分类,通过分类的README.md确定目标页面:
  1. 参考下方映射表找到任务对应的分类
  2. 查看该分类的
    references/{category}/README.md
    samples/
    scripts/
    直接查看目录下的README.md)确定目标页面
  3. 阅读对应页面的
    .md
    文档查看详细内容
基于CUDA C++/Python的内核编写、PTX ISA指令集、CUTLASS/CuTe实现的GEMM请参考
nvidia-cuda
技能。本技能负责HIP编程模型、运行时API、ROCm库集合、CDNA/RDNA架构相关内容。 HIP的命名与CUDA API近乎1:1对应(例如
hipMalloc
cudaMalloc
),因此
references/hip/cuda-to-hip-api-comparison.md
references/hip/porting-cuda-to-hip.md
中整理了与CUDA的对应关系及迁移步骤。

タスク → カテゴリ マッピング

任务 → 分类 映射表

タスクカテゴリ参照 README
ROCm スタック全体像・Core SDK と Extras の違い・TheRock ビルドシステムを知りたいrocm-stackreferences/rocm-stack/README.md
rocBLAS/MIOpen/RCCL 等の数値計算・通信ライブラリ、プロファイリング/監視ツール(rocprofv3, amd-smi)を調べたいrocm-stackreferences/rocm-stack/README.md
Linux/Windows へのインストール手順・PyTorch/TensorFlow/JAX 導入・GPU/OS 互換性を知りたいrocm-stackreferences/rocm-stack/README.md
HIP プログラミングモデル・カーネル記述・C++ 言語拡張・HIPRTC ランタイムコンパイルを調べたいhipreferences/hip/README.md
HIP ランタイム API(デバイス/ストリーム/イベント/メモリ管理、HIP Graph、Cooperative Groups)を調べたいhipreferences/hip/README.md
CUDA から HIP への移植・hipify によるコード変換・CUDA↔HIP API 対応表を知りたいhipreferences/hip/README.md
CDNA/RDNA アーキテクチャ設計・MI100/MI250/MI300 マイクロアーキテクチャ・ISA/性能カウンタを調べたいgpu-archreferences/gpu-arch/README.md
典型的な使い方を知りたい(vector add, HIP Graph, rocBLAS GEMM, hipify 変換等)samplessamples/README.md
インストール・hipcc ビルド・rocminfo/amd-smi・rocprofv3 プロファイリング・rocgdb デバッグコマンドを知りたいscriptsscripts/README.md
任务分类参考README
了解ROCm栈整体架构、Core SDK与Extras的区别、TheRock构建系统rocm-stackreferences/rocm-stack/README.md
调研rocBLAS/MIOpen/RCCL等数值计算、通信库,以及性能分析/监控工具(rocprofv3, amd-smi)rocm-stackreferences/rocm-stack/README.md
了解Linux/Windows安装步骤、PyTorch/TensorFlow/JAX部署、GPU/OS兼容性rocm-stackreferences/rocm-stack/README.md
调研HIP编程模型、内核编写、C++语言扩展、HIPRTC运行时编译hipreferences/hip/README.md
调研HIP运行时API(设备/流/事件/内存管理、HIP Graph、Cooperative Groups)hipreferences/hip/README.md
了解从CUDA迁移到HIP、通过hipify进行代码转换、CUDA↔HIP API对应表hipreferences/hip/README.md
调研CDNA/RDNA架构设计、MI100/MI250/MI300微架构、ISA/性能计数器gpu-archreferences/gpu-arch/README.md
了解典型使用场景(向量加法、HIP Graph、rocBLAS GEMM、hipify转换等)samplessamples/README.md
了解安装、hipcc构建、rocminfo/amd-smi、rocprofv3性能分析、rocgdb调试命令scriptsscripts/README.md