Roofline analysis

From loveSunning/FastCuda · View interactive version

Roofline analysis is an AI agent skill from the GitHub repository loveSunning/FastCuda. Use when deciding whether a CUDA kernel is likely memory-bound or compute-bound.

How to use this skill

Skill file

Roofline Analysis

Use this skill when deciding whether a kernel is likely memory-bound or

compute-bound.

Workflow

  1. Collect shape, dtype, and measured runtime.
  2. Estimate bytes moved and operations performed.
  3. Compare arithmetic intensity against hardware limits.
  4. Use the result to narrow optimization direction.

Output Contract

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.