mcpField
A
amd-rocm

amd-rocm

github.com/fandhe-aiDevelopment4253 installsUpdated today
Repository

About amd-rocm

amd-rocm is a technical reference skill for developers building general-purpose parallel computing workloads on AMD Instinct and Radeon GPUs. It covers HIP, ROCm libraries, GPU architectures, CUDA porting, and setup and debugging guidance.

Key features

  1. 01HIP programming model and runtime APIs
  2. 02ROCm compute and communication library references
  3. 03CDNA and RDNA architecture material
  4. 04CUDA-to-HIP porting guidance
  5. 05Installation, build, and debugging references

Use cases

  1. 01Write or inspect HIP GPU kernels
  2. 02Look up libraries such as rocBLAS
  3. 03Port CUDA code to HIP
  4. 04Find ROCm installation and profiling commands

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill amd-rocm

After installing, type/amd-rocmin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/gpu-arch/
cdna-architecture.md
gpu-arch-specs.md
gpu-architecture-overview.md
isa-documentation.md
machine-readable-isa.md
mi100-microarchitecture.md
mi250-microarchitecture.md
mi300-mi200-performance-counters.md
mi300-microarchitecture.md
mi350-performance-counters.md
performance-optimization-guides.md
precision-support.md
rdna-architecture.md
README.md
references/hip/
asynchronous-execution.md
compilers-clr.md
complex-math-api.md
cooperative-groups.md
cpp-language-extensions.md
cuda-to-hip-api-comparison.md
debugging-logging.md
deprecated-apis.md
device-management.md
device-memory.md
device-properties-cdna.md
env-variables.md
error-handling.md
event-management.md
execution-context.md
execution-control-launch.md

Details

From the project README

amd-rocm

AMD ROCm — Instinct/Radeon GPU 上で汎用並列計算を行うためのソフトウェアスタック。 HIP プログラミングモデル・ランタイム API によるカーネル記述、rocBLAS/MIOpen/RCCL 等のライブラリ、 CDNA/RDNA アーキテクチャ向けチューニングをカバーする。

対象: ROCm Core SDK 10.1.0(TheRock, 2026-10-05)/ HIP 7.16.0(baseline 7.14.0 からの更新)。

ディレクトリ構成

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
      threading-libraries.md
      libhipcxx.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
      execution-context.md
      complex-math-api.md
      low-precision-types.md
      device-properties-cdna.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
ROCm スタック全体像・Core SDK と Extras の違い・TheRock ビルドシステムを知りたいrocm-stackreferences/rocm-stack/README.md
rocBLAS/MIOpen/RCCL 等の数値計算・通信ライブラリ、hipThreads(GPU threading)・libhipcxx、メディア/ビジョン(RPP)、プロファイリング/監視ツール(rocprofv3, amd-smi)を調べたいrocm-stackreferences/rocm-stack/README.md
Linux/Windows へのインストール手順(TheRock amdrocm パッケージ、pip / tarball / runfile)・PyTorch/JAX 導入(TensorFlow 2.19.1 は削除)・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
HIP 実行コンテキスト(hipGreenCtxCreate, CU パーティショニング)・複素数数学 API・低精度 fp8/fp6/fp4 型・CDNA デバイストポロジ(XCD/XCC)を調べたい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

Comments

Markdown supported