Feat/gap9 training power collection - #41
Open
runwangdl wants to merge 1 commit into
Open
Conversation
runwangdl
force-pushed
the
feat/gap9-training-power-collection
branch
2 times, most recently
from
June 29, 2026 22:17
53946a9 to
ac1ec5f
Compare
…ime dispatch Output-stationary ConvGradX (dX): for each dX position accumulate the full (co,ky,kx) reduction in a register and write dX once, instead of the scatter kernel's Cout*K read-modify-writes into dX (an FPU-stalled dependent chain). The gather needs dY fully readable, so it is only correct when the conv is NOT spatially tiled. A runtime numeric tile-vs-full-dim check falls back to the scatter kernel for spatially-split convs (e.g. ResNet8 single-buffer), so it is correct on every config while taking the fast path on promote+DB. The template captures the untiled output dims (alignToContext, pre-tiling) and passes them. ResNet8 GAP9 GVSoC, golden (Errors 0/4): promote+DB 51.9M/step (gather, vs scatter 68M); single-buffer 55.0M/step (dispatch->scatter for split convs). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
runwangdl
force-pushed
the
feat/gap9-training-power-collection
branch
from
June 29, 2026 22:19
ac1ec5f to
7b2728e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the intent of your PR here.
Added
Changed
Fixed
PR Merge Checklist
develcommit and pointing todevel.CHANGELOG.mdfile has been updated.