• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wegamekinglc / Derivatives-Algorithms-Lib / 28311675928
82%
master: 81%

Build:
Build:
LAST BUILD BRANCH: chore/fix-all-style-findings
DEFAULT BRANCH: master
Ran 28 Jun 2026 04:56AM UTC
Jobs 1
Files 221
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jun 2026 04:45AM UTC coverage: 81.523% (+0.03%) from 81.491%
28311675928

Pull #180

github

wegamekinglc
Add interp hint-and-scan and fuse CG/BCG Krylov sweeps

- InterpLinearImplX: optional size_t* hint caches the last bracket index;
  repeated evaluations on monotonic x scan linearly from the hint instead
  of binary-searching every call, with a LowerBound fallback for safety.
  Interp1Linear_ and Cubic1_ carry a mutable lastIndex_ and pass &lastIndex_.
- CG/BCG (bcg.cpp): fuse PrepareDirection_ (p*=m; p+=z  ->  p = z + m*p) and
  UpdateSolution_ (x+=alpha*p; r-=alpha*Ap in one sweep) into single-pass AXPY
  loops. Per-element FP ops unchanged, so results are byte-identical.
- P8 (banded TriMultiply fusion) was attempted but reverted: under -O3
  -march=native the single-expression fusion gets FMA-contracted, breaking
  byte-identity on JointCalibrationTest; a volatile-accumulator variant stays
  byte-identical but runs ~2.3x slower than the original three-pass form.

interp_perf: Cubic 50.1->37.9 us (-24%), Linear 46.1->36.6 us (-21%).
krylov_perf: CGSolve 16.3->14.4 us (-12%), BCGSolve 21.7->19.0 us (-12%).

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #180: perf: fuse kernel sweeps (interp hint + CG/BCG + banded TriMultiply)

48 of 51 new or added lines in 4 files covered. (94.12%)

16 existing lines in 2 files now uncovered.

6380 of 7826 relevant lines covered (81.52%)

3211979.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
79.22
-1.08% dal-cpp/dal/math/interp/interpcubic.cpp

Coverage Regressions

Lines Coverage ∆ File
15
79.22
-1.08% dal-cpp/dal/math/interp/interpcubic.cpp
1
95.45
0.37% dal-cpp/dal/math/matrix/bcg.cpp
Jobs
ID Job ID Ran Files Coverage
1 28311675928.1 28 Jun 2026 04:56AM UTC 221
81.52
GitHub Action Run
Source Files on build 28311675928
  • Tree
  • List 221
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28311675928
  • Pull Request #180
  • PR Base - master (#28311159268)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc