[all-commits] [llvm/llvm-project] b11722: [llvm-calc-occupancy] Add an AMDGPU occupancy calc...
michaelselehov via All-commits
all-commits at lists.llvm.org
Thu Jul 30 06:11:55 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b11722f1d3bd5debac949fe366c1801d39b8a2bb
https://github.com/llvm/llvm-project/commit/b11722f1d3bd5debac949fe366c1801d39b8a2bb
Author: michaelselehov <michael.selehov at amd.com>
Date: 2026-07-30 (Thu, 30 Jul 2026)
Changed paths:
M llvm/docs/CommandGuide/index.md
A llvm/docs/CommandGuide/llvm-calc-occupancy.rst
M llvm/test/CMakeLists.txt
M llvm/test/lit.cfg.py
A llvm/test/tools/llvm-calc-occupancy/basic.test
A llvm/tools/llvm-calc-occupancy/CMakeLists.txt
A llvm/tools/llvm-calc-occupancy/llvm-calc-occupancy.cpp
Log Message:
-----------
[llvm-calc-occupancy] Add an AMDGPU occupancy calculator tool (#208727)
Add a command-line utility that reports the occupancy (waves/EU) an
AMDGPU kernel would reach for a given workgroup size, VGPR/SGPR usage
and LDS. It reuses the backend's own occupancy math, so the numbers
match the compiler. Includes a lit test and a CommandGuide man page.
Assisted-by: Claude Opus
---------
Co-authored-by: mselehov <mselehov at amd.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list