[Feature]: Intra-kernel profiling

Open
#831 2 comments 2 reactions 1 assignee View on GitHub

@Phil-amd is already working on this.

Since Aug 17, 2026.

Assessment

This issue has not been assessed yet.

Description

Suggestion Description

Intra-kenrel profiling is really useful for communications kernels.
Also it is useful for compute-bound kernels too, to identify the XCD-imbanlance, and tail effect of some grids.

Some reference for other dsl.

  1. cutedsl: https://docs.nvidia.com/cutlass/latest/media/docs/pythonDSL/cute_dsl_general/iket_profiling.html
  2. tilelang: https://github.com/tile-ai/tilelang/pull/2515
  3. triton: https://github.com/triton-lang/triton/blob/main/third_party/proton/tutorials/intra_kernel/example_dsl.py
  4. flashinfer: https://github.com/flashinfer-ai/flashinfer/pull/913

Also here is a blog for how to use it to identify uneven work distribution in MI300x intra-node all2all implementations:
https://gau-nernst.github.io/amd-a2a/#intra-kernel-profiling

Image
Operating System

No response

GPU

No response

ROCm Component

No response

Dominant language
Python
Stars
282
Forks
120
Avg merge
1d 21h
Merged PRs (30d)
67

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ROCm/FlyDSL

All issues in ROCm/FlyDSL

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.