disasm
Disassemble GPU kernels to inspect generated SASS or PTX from cubin, PTX, SO, and EXE files, or locate the latest Triton cache kernel by name.
Instructions
Disassemble a kernel. target is a .cubin/.ptx/.so/.exe path, or 'triton-cache' to search
~/.triton/cache (and TRITON_CACHE_DIR) for the most recent kernel whose name contains
kernel. level: 'sass' (via cuobjdump -sass) or 'ptx' (cuobjdump -ptx / the .ptx file).
A real kernel is 500-3000 SASS lines; max_lines<=0 returns all of them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | sass | |
| kernel | No | ||
| target | Yes | ||
| max_lines | No |