Skip to content

Fly DSL

rocm.github.io • November 30, 2026

FlyDSL is a Python DSL and MLIR compiler stack for authoring high-performance GPU kernels with explicit layout algebra, targeting AMD ROCm/HIP GPUs.

This site is built from main and may describe APIs newer than the published package. See Documentation and integration versions to choose documentation and dependencies for your installed release.

Source commit: faa98dddddf3. Built: 2026-11-30 02:31 UTC.

FlyDSL is the Python front-end ( Flexible Layout Python DSL ) powered by the Fly dialect : an MLIR-native compiler stack with first-class layout IR ( !fly.int_tuple , !fly.layout , !fly.coord_tensor , !fly.memref ), explicit algebra and coordinate mapping, plus a composable lowering pipeline to GPU/ROCDL.

Storage and allocator

Storage and allocator

Random number generation

Random number generation

Architecture and compilation pipeline

Architecture and compilation pipeline

In-kernel wave tracing

In-kernel wave tracing

Offline autotune configs

Offline autotune configs

Prebuilt kernel library

Prebuilt kernel library

Testing and benchmarking

Testing and benchmarking

External bitcode integration

External bitcode integration

Stable runtime helpers

Stable runtime helpers

Extracted Entities

Platforms (2)