Skip to content

autoresearch: mat transpose perf 2026 05 01 - #11

Merged
aajll merged 6 commits into
masterfrom
autoresearch/mat-transpose-perf-2026-05-01
May 1, 2026
Merged

aajll merged 6 commits into
masterfrom
autoresearch/mat-transpose-perf-2026-05-01

Conversation

@aajll

@aajll aajll commented May 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

aajll added 6 commits May 1, 2026 12:36
…medium. 5.8x speedup (1.17→0.20ms). Each thread has its own stack buffer.

Result: {"status":"keep","mat_transpose_ms":0.20144,"transpose_256_ms":0.081,"transpose_64_ms":0.005}
…ld (65536). 0.18ms (-10% vs prev).

Result: {"status":"keep","mat_transpose_ms":0.18468,"transpose_256_ms":0.064,"transpose_64_ms":0.004}
…es wider SIMD for memcpy/inner loop. 48 blocks = more parallelism.

Result: {"status":"keep","mat_transpose_ms":0.14722,"transpose_256_ms":0.079,"transpose_64_ms":0.004}
…21.3) = better thread distribution with 12 threads.

Result: {"status":"keep","mat_transpose_ms":0.14242,"transpose_256_ms":0.059,"transpose_64_ms":0.003}
… marginal but positive — explicit unroll helps compiler interleave strided buffer reads.

Result: {"status":"keep","mat_transpose_ms":0.14017,"transpose_256_ms":0.083,"transpose_64_ms":0.005}
@aajll
aajll merged commit 604d884 into master May 1, 2026
3 checks passed
@aajll
aajll deleted the autoresearch/mat-transpose-perf-2026-05-01 branch May 1, 2026 13:39
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