FlyDSL Kernel Authoring Skill

Compile Python DSL GPU kernels for AMD hardware via MLIR.

2|3|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/fsx950223/claude-stuff --skill flydsl-kernel-authoring-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: FlyDSL Kernel Authoring Skill
Source: https://github.com/fsx950223/claude-stuff/tree/main/.claude/skills/flydsl-kernel-authoring
Command: npx skills add https://github.com/fsx950223/claude-stuff --skill flydsl-kernel-authoring-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a powerful framework for writing and compiling high-performance GPU kernels, specifically targeting AMD GPUs, by offering fine-grained control over data layout and memory access.

Core Features & Use Cases

  • GPU Kernel Development: Write custom kernels for AMD GPUs (MI300X/MI350) using a Python DSL.
  • Layout Algebra: Precisely control data movement, tiling, and memory access patterns with an explicit layout system.
  • MLIR Compilation: Leverages MLIR for a robust compilation pipeline from Python DSL to HSACO binaries.
  • Use Case: Optimize complex matrix multiplication (GEMM) or other compute-intensive operations for AMD hardware by defining custom data layouts and kernel logic.

Quick Start

Use the FlyDSL Kernel Authoring Skill to define a new GPU kernel for matrix multiplication.

Frequently Asked Questions about FlyDSL Kernel Authoring Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write high-performance GPU kernels for AMD hardware?

You write high-performance GPU kernels for AMD hardware using a Python DSL and MLIR compilation pipeline. This framework provides fine-grained control over data movement and memory access patterns, specifically targeting architectures like gfx942 and gfx950.

What is layout algebra for GPU kernel development?

Layout algebra for GPU kernel development is an explicit system to precisely control data movement, tiling, and memory access patterns. It enables developers to optimize complex compute-intensive operations like matrix multiplication by defining custom data layouts.

Can I optimize matrix multiplication for MI300X using MLIR?

Yes, you can optimize matrix multiplication for MI300X using MLIR. The framework compiles a Python DSL into HSACO binaries, supporting advanced features like shared memory management and MFMA integration for AMD hardware.

How do I manage shared memory and reductions in AMD GPU programming?

You manage shared memory and reductions in AMD GPU programming through the Python DSL's advanced features. The framework explicitly supports shared memory management, MFMA integration, and reduction patterns to execute compute-intensive operations.

Does this Python DSL compile directly to HSACO binaries for AMD GPUs?

Yes, the Python DSL compiles directly to HSACO binaries for AMD GPUs. It leverages a robust MLIR compilation pipeline to transform kernel logic and explicit data layouts into executable code for architectures like gfx942 and gfx950.