Moat Cuda to Rocm
Port a CUDA project to ROCm/HIP for AMD GPUs. Strategy selection, the AMD-strict-where-CUDA-is-lenient fault classes, wavefront-size portability, library substitutions, and the validation bar. Use when planning, implementing, reviewing or validating a CUDA-to-HIP port, or when a HIP build compiles but misbehaves at runtime.
Install
/plugin marketplace add amd/skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add amd/skills --skill moat-cuda-to-rocmgit clone --depth 1 https://github.com/amd/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/moat-cuda-to-rocm ~/.claude/skills/moat-cuda-to-rocmPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# CUDA to ROCm/HIP Accumulated across many real ports. This file is the index and the decision-critical parts; everything else is in `references/`, loaded only when you need it. **Most porting bugs are not in symbol names.** Hipify handles the renaming. The bugs are semantic differences where AMD is strict and CUDA is lenient, and most surface at runtime on a build that compiled cleanly, though some, like a 32-bit `*_sync` mask, fail to compile even after hipify runs clean. Read the fault-class index below before concluding a port works. ## Naming: ROCm or HIP? They name different things and reviewers notice. - **HIP** is the programming model: the kernel dialect plus the `hipXxx` runtime API. The analogue of CUDA C++ and the CUDA runtime. - **ROCm** is the platform: compiler, runtime, driver, and the roc*/hip* libraries. The analogue of the CUDA Toolkit. So the CODE port is "to HIP" (hipify, the compat header, runtime symbols), while the TARGET, build flag and libraries are "ROCm" (`USE_HIP`/`USE_ROCM`, "ROCm 7.2.1", cuFFT -> hipFFT). A language+runtime port is precisely "a HIP port targeting ROCm". Never call the platform "HIP" or the kernel dialect "ROCm". Details: `references/naming.md`. ## Which strategy Classify the build first -- implementing the wrong strategy correctly is still wrong. | build | strategy | shape | |---|---|---|
Details
- Skill name
moat-cuda-to-rocm- Repository
- amd/skills
- Path
skills/moat-cuda-to-rocm/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
FAQ
What does the Moat Cuda to Rocm skill do?
Port a CUDA project to ROCm/HIP for AMD GPUs. Strategy selection, the AMD-strict-where-CUDA-is-lenient fault classes, wavefront-size portability, library substitutions, and the validation bar. Use when planning, implementing, reviewing or validating a CUDA-to-HIP port, or when a HIP build compiles but misbehaves at runtime.
How do I install the Moat Cuda to Rocm skill?
Claude Code plugin: /plugin marketplace add amd/skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Moat Cuda to Rocm popular?
It lives in amd/skills, which has 500 GitHub stars and 47 forks.
Related skills
Apu Memory Tuner
500amd/skills
Inspects and tunes the shared-vs-dedicated memory split on AMD Ryzen APUs with unified memory (UMA) so larger LLMs and image-gen models fit on the iGPU, or so reserved GPU memory is returned to the CPU. Use when the user mentions Ryzen AI, Strix Halo / Strix Point / Krackan / Phoenix / Hawk Point, Ryzen AI Max, gfx1150 / gfx1151 / gfx1152, integrated Radeon, iGPU memory, UMA Frame Buffer Size, AMD Variable Graphics Memory, VGM, GTT, GART, TTM, pages_limit, amd-ttm, amd-debug-tools, "shared GPU memory", "dedicated GPU memory", carve-out, "not enough VRAM", "out of VRAM", "GPU OOM", llama.cpp on
Eaiapps Guided Install
500amd/skills
Guides a user through installing the AI Workbench (AIWB) onto a Kubernetes cluster end-to-end — preflight cluster readiness (access, StorageClass, GPU operator, required operators/CRDs), install the Helm charts in the correct order, and verify the deployment is healthy with plain-language failure triage. Use when a user wants to install, deploy, or stand up AIWB / the AI Workbench / the enterprise AI stack on a K8s cluster, or asks why their install failed partway. Use PROACTIVELY when a user is following helm/INSTALL.md by hand. Do NOT activate for onboarding models to AIM, general kubectl/he
Flydsl Kernel Authoring
500amd/skills
Comprehensive reference for authoring FlyDSL GPU kernels on AMD GPUs. Covers the layout algebra, tiled copy/MMA, buffer ops, loop-carried range loops, SharedAllocator (LDS), autotuning, and common patterns. Use when writing, reviewing, or understanding FlyDSL kernel code.
Personal Assistant
473ailabs-393/ai-labs-claude-skills
This skill should be used whenever users request personal assistance tasks such as schedule management, task tracking, reminder setting, habit monitoring, productivity advice, time management, or any query requiring personalized responses based on user preferences and context. On first use, collects comprehensive user information including schedule, working habits, preferences, goals, and routines. Maintains an intelligent database that automatically organizes and prioritizes information, keeping relevant data and discarding outdated context.
Next Step
517dotslashsimran/simcraft
Turn a big, messy goal or a brain dump into one clear next action at a time, for people who freeze in front of long to-do lists (ADHD-friendly). Asks one question at a time, keeps a small plan file, and only ever shows the single next step plus how long it takes. Use when the user says "I don't know where to start", "help me plan", "I'm overwhelmed", "what should I do next", "break this down", dumps a pile of tasks, or asks for a plan for a launch, a move, a job hunt or a project.
Project Architect
259ersinkoc/project-architect
Documentation-first project planning that produces implementation-ready blueprints and single-shot coding agent prompts. Generates 4 interconnected docs — SPECIFICATION.md, IMPLEMENTATION.md, TASKS.md, BRANDING.md — plus a self-contained PROMPT.md for autonomous execution by any coding agent. Includes interactive tech stack selection, design pattern recommendations, and architecture decisions with trade-off analysis. Trigger when user wants to: plan a project, create specs, architect a system, break work into tasks, choose a tech stack, get design pattern advice, generate a coding agent prompt
Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.