Skip to content

Compacted tracing: step budgets that drop finished particles - #236

Draft
rogeriojorge wants to merge 14 commits into
mainfrom
perf/compacted-tracing
Draft

rogeriojorge wants to merge 14 commits into
mainfrom
perf/compacted-tracing

Conversation

@rogeriojorge

@rogeriojorge rogeriojorge commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Limit the steps spent on each round of batched CPU tracing. The additional bookkeeping was slower on GPU, so the device path ignores the step budget.

On the office CPU a VMEC right-hand-side call took 0.74 ms for eight particles and 1.6 ms for 64. The benefit depends on how many lanes finish early and how the field evaluation scales with batch size.

Measurements and test conditions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant