🟢 🔧 Hardware Published: · 2 min read ·

AMD: FlyDSL — Python DSL that promises performance of hand-written HIP C++ GPU kernels with far less code

Editorial illustration: Python snake around a GPU chip with optimized flows emerging

FlyDSL is AMD's Python domain-specific language for writing GPU kernels that, according to a new ROCm guide, matches the performance of manually optimized HIP C++ code while requiring fewer written lines. AMD published a practical guide for porting existing HIP kernels, positioning FlyDSL as a Python-first alternative to NVIDIA's CUDA toolchain.

🤖

This article was generated using artificial intelligence from primary sources.

On July 9, 2026, AMD published a practical guide on the ROCm blog for porting HIP kernels to FlyDSL, its Python domain-specific language for GPU programming. HIP (Heterogeneous-compute Interface for Portability) is AMD’s C++ API — a counterpart to NVIDIA’s CUDA platform — and FlyDSL moves the same level of control into Python.

Why Python for GPU kernels?

The barrier to entry in GPU optimization today is high: writing C++ kernels by hand requires expertise held by a narrow circle of engineers. FlyDSL promises the performance of manually optimized HIP code with significantly fewer written lines — the same argument with which OpenAI’s Triton won over the ML community on the NVIDIA side, and which PyTorch extended this week with the CuTeDSL backend. AMD’s guide demonstrates conversion of existing high-performance kernels step by step, suggesting the company is targeting teams that already have HIP code and want faster iteration.

Strategic context

The CUDA ecosystem remains NVIDIA’s deepest defensive moat: competing hardware is often comparable, but the software toolchain is not. FlyDSL is therefore more than a developer nicety — a Python-first layer lowers the cost of switching to AMD Instinct accelerators, where the customer needs to be convinced not only of the MI hardware, but also that their engineers will be able to write fast code on it.

What’s missing

The published guide does not include comparative benchmark numbers between FlyDSL and manual HIP on specific kernels, so the claim of equal performance still needs independent confirmation. The real test will be adoption in open-source projects like vLLM, which for the AMD backend have so far depended on hand-written kernels.

Frequently Asked Questions

What is FlyDSL?
FlyDSL is AMD's domain-specific language embedded in Python for writing GPU kernels on the ROCm platform — the goal is the performance of manually optimized HIP C++ code with the simplicity of Python.
What is HIP?
HIP (Heterogeneous-compute Interface for Portability) is AMD's C++ API for GPU programming, designed as a portable counterpart to NVIDIA's CUDA platform.