Skip to content

Add addmul_2/submul_2 basecase kernels and benchmark naming improvements - #75

Merged
cmpute merged 2 commits into
masterfrom
mul-improve
Jun 13, 2026
Merged

Add addmul_2/submul_2 basecase kernels and benchmark naming improvements#75
cmpute merged 2 commits into
masterfrom
mul-improve

Conversation

@cmpute

@cmpute cmpute commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Benchmark results:

  ┌────────────┬──────────┬─────────────┬───────────┐
  │    Bits    │  Master  │ Mul-improve │  Speedup  │
  ├────────────┼──────────┼─────────────┼───────────┤
  │ 10         │ 1.56 ns  │ 1.56 ns     │ — (noise) │
  ├────────────┼──────────┼─────────────┼───────────┤
  │ 100        │ 18.53 ns │ 18.44 ns    │ — (noise) │
  ├────────────┼──────────┼─────────────┼───────────┤
  │ 1,000      │ 257.1 ns │ 217.4 ns    │ 1.18x     │
  ├────────────┼──────────┼─────────────┼───────────┤
  │ 10,000     │ 12.48 µs │ 9.86 µs     │ 1.27x     │
  ├────────────┼──────────┼─────────────┼───────────┤
  │ 100,000    │ 445.6 µs │ 351.6 µs    │ 1.27x     │
  ├────────────┼──────────┼─────────────┼───────────┤
  │ 1,000,000  │ 13.81 ms │ 11.16 ms    │ 1.24x     │
  ├────────────┼──────────┼─────────────┼───────────┤
  │ 10,000,000 │ — (N/A)  │ 327.7 ms    │ new       │
  └────────────┴──────────┴─────────────┴───────────┘

Jacob Zhong and others added 2 commits June 13, 2026 10:31
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@cmpute
cmpute merged commit a4d1cc0 into master Jun 13, 2026
13 checks passed
@cmpute
cmpute deleted the mul-improve branch June 15, 2026 13:34
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