gluon-mm-inst-opt

Community

Accelerate Gluon GEMM memory paths on CDNA GPUs.

Authorleonling-ll
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Optimizes memory access patterns in a Gluon GEMM kernel across CDNA3/4 GPUs by replacing global loads with AMD-native memory instructions and enabling an LDS-based DMA path on CDNA4 to unlock prefetching.

Core Features & Use Cases

  • Step A: Replace gl.load/gl.store with gl.amd.cdna3.buffer_load/buffer_store to reduce branches and address pressure.
  • Step B: For CDNA4 gfx950, introduce shared memory (LDS) and use gl.amd.cdna4.async_copy.buffer_load_to_shared to establish a streaming DMA path.
  • Use Case: Optimizes large GEMM kernels (e.g., MI300X/MI350) to improve MFMA throughput and reduce latency.

Quick Start

Run gluon-mm-inst-opt to apply Step A and, if on CDNA4 GPUs, Step B to establish an async DMA path from global memory to LDS.

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: gluon-mm-inst-opt
Download link: https://github.com/leonling-ll/claude-skills/archive/main.zip#gluon-mm-inst-opt

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.