Skip to content

Add Hybrid Solver#112

Open
maxpaik16 wants to merge 3 commits into
mainfrom
hybrid-solver
Open

Add Hybrid Solver#112
maxpaik16 wants to merge 3 commits into
mainfrom
hybrid-solver

Conversation

@maxpaik16

Copy link
Copy Markdown
Contributor

Added CPU and GPU implementations of hybrid linear solver. The CPU solver is only built if MPI is found, and the GPU solver is only built if CUDA is found.

Added cuDSS wrapper

Added test case to verify hybrid linear solvers are converging well for a system with ill-conditioning due to contact

@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 13.33333% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.10%. Comparing base (1b01e6c) to head (3773540).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/polysolve/linear/hybrid_utils/DisjointSet.cpp 0.00% 18 Missing ⚠️
src/polysolve/linear/HypreSolver.cpp 36.36% 7 Missing ⚠️
src/polysolve/linear/HypreSolver.hpp 0.00% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (13.33%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #112      +/-   ##
==========================================
- Coverage   80.47%   80.10%   -0.38%     
==========================================
  Files          49       52       +3     
  Lines        2110     2141      +31     
  Branches      281      286       +5     
==========================================
+ Hits         1698     1715      +17     
- Misses        412      426      +14     
Flag Coverage Δ
polysolve 80.10% <13.33%> (-0.38%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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