port-to-layout-api

Official

Migrate buffer_ops to the FlyDSL layout API.

AuthorROCm
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Port raw buffer_ops to the higher-level layout API, enabling more readable, maintainable, and optimizer-friendly kernels.

Core Features & Use Cases

  • Porting raw buffer_ops like create_buffer_resource, buffer_load, and buffer_store to fx.rocdl.make_buffer_tensor and BufferCopy-based flows.
  • Handling multi-dimensional tensors with slices, logical divisions, and copy atoms to support 2D/3D layouts.
  • Encouraging safer, more consistent kernel porting with masking guidance and OOB guards.

Quick Start

Run the port-to-layout-api tool on a kernel file to migrate raw buffer_ops usage to the layout API.

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: port-to-layout-api
Download link: https://github.com/ROCm/FlyDSL/archive/main.zip#port-to-layout-api

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.