add-target-atom-op

Official

Add a backend Mma/Copy operator to FlyDSL.

AuthorROCm
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured recipe to add a new target-specific MmaOp/CopyOp to a FlyDSL backend dialect, enabling support for new hardware backends and the associated lowering and wiring.

Core Features & Use Cases

  • Two-level type design: generic payloads in the fly dialect and backend payloads in the backend dialect (e.g., !fly.mma_atom and !fly_rocdl.cdna3.mfma)
  • Full interface implementation guidance: Fly_MmaOpTypeInterface, Fly_CopyOpTypeInterface, and optional stateful interfaces, plus example lowering paths (emitAtomCall, emitAtomCallSSA)
  • End-to-end roadmap: TableGen declarations, backend code, CMake, Python bindings, and tests to wire a new backend op (e.g., CDNA5_MFMA)

Quick Start

Follow the recipe to implement a new backend-specific MmaOp/CopyOp by declaring the payload types in the backend dialect, wiring up interface methods, adding lowering paths, and integrating build and Python bindings.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-target-atom-op
Download link: https://github.com/ROCm/FlyDSL/archive/main.zip#add-target-atom-op

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.