mirror of
https://github.com/JustAResearcher/gpu-unlock-ada.git
synced 2026-12-03 20:45:57 +07:00
[PR #60] [MERGED] bench: add an fp8/e4m3 issue-rate mode to mma_bench #104
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JustAResearcher/gpu-unlock-ada#104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JustAResearcher/gpu-unlock-ada/pull/60
Author: @A-XIANGQAQ
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @JustAResearcher
Base:
main← Head:bench/fp8-issue-rate📝 Commits (1)
5c368b0bench: add an fp8/e4m3 issue-rate mode to mma_bench📊 Changes
2 files changed (+59 additions, -0 deletions)
View changed files
📝
diagnostics/bench/README.md(+10 -0)📝
diagnostics/bench/mma_bench.cu(+49 -0)📄 Description
The FP8 sentence in the 2705 section ("other FP8 kernels remain untested") exists because this
repository has no FP8 probe. The only FP8 measurement here is a 4096³ CUTLASS GEMM that reaches about
17% of the card's FP8 peak, so it cannot resolve an issue-rate change in either direction.
This adds the missing probe instead of arguing about the wording:
fp8/e4m3drivesmma.sync.aligned.m16n8k32.row.col.f32.e4m3.e4m3.f32from registers, same harnessas the other shapes (1056 blocks × 8 warps × 8 accumulator chains).
is directly comparable with
f16/f32— no conversion, no separate scale.0x38), so every accumulator must land on k = 32; the value is kept alivethe same way the other modes do it, so the loop cannot be optimised away.
diagnostics/bench/README.mddocuments the mode, the comparability, and the caveat that this is anissue rate while an application GEMM is bounded by the power limit.
Numbers from two cards, for the PR description only (not committed as data):
m16n8k32e4m3 probeBuild and check (Linux, CUDA 13.2, sm_89):
Output on the 4090 (2000 iterations, 1 repetition, for speed):
Scope: a new measurement mode plus its documentation. No module, firmware, payload or existing mode is
changed; the other five rows above reproduce their previous values.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.