Skip to content

Add a NEON packed flow tracer for arm64 - #78

Merged
constantinpape merged 2 commits into
flow-optim-fablefrom
more-flow-optim-mac
Nov 5, 2026
Merged

constantinpape merged 2 commits into
flow-optim-fablefrom
more-flow-optim-mac

Conversation

@anwai98

@anwai98 anwai98 commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Okay so quoting Claude here (see screenshot below ;)) haha

I briefly reviewed it and looks okay -- there's definitely an advantage in this round of implementation it did. Please feel free to takeover @constantinpape

Screenshot 2026-11-03 at 15 12 07

- fmla count: 272 (16 x 16 + 16) for the fused position update, not 255.
- K = 4 vs K = 16: K = 4 is 18 % / 53 % slower, not 14 % / 34 %.
- 4T rows are unpinned, not P-core only.
- Open item: GCC on Linux aarch64 likely breaks bitwise parity.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@constantinpape
constantinpape merged commit 7bd577b into flow-optim-fable Nov 5, 2026
6 checks passed
@constantinpape
constantinpape deleted the more-flow-optim-mac branch November 5, 2026 08:12
constantinpape added a commit that referenced this pull request Nov 5, 2026
* Further optimzations of flow tracking

* Reproduce on laptop CPU, add prompts for MAC and WIN optimization

* Add a NEON packed flow tracer for arm64 (#78)

* Add a NEON packed flow tracer for arm64

* Correct the Apple Silicon section of the flow performance notes

- fmla count: 272 (16 x 16 + 16) for the fused position update, not 255.
- K = 4 vs K = 16: K = 4 is 18 % / 53 % slower, not 14 % / 34 %.
- 4T rows are unpinned, not P-core only.
- Open item: GCC on Linux aarch64 likely breaks bitwise parity.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Constantin Pape <constantin.pape@informatik.uni-goettingen.de>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Update kernel selection logic

---------

Co-authored-by: Anwai Archit <anwai.archit@gmail.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

2 participants