AGENT SKILL

roofline-analysis

Use when deciding whether a CUDA kernel is likely memory-bound or compute-bound.

License 许可
Apache-2.0
所属仓库
tamarillo-ai/theta
最近更新
2026-07-15
Stars
★ 15
Forks
1

01 前言 Front Matter

name
roofline-analysis
description
Use when deciding whether a CUDA kernel is likely memory-bound or compute-bound.

03 SKILL.md 正文

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

  • arithmetic intensity estimate
  • likely bound type
  • next optimization target

04 同仓库更多 Skills