Skip to content

Fix ILU binding API mismatch#107

Merged
2002kaihui merged 4 commits into
mainfrom
fix/ilu-gko-api-mismatch
May 18, 2026
Merged

Fix ILU binding API mismatch#107
2002kaihui merged 4 commits into
mainfrom
fix/ilu-gko-api-mismatch

Conversation

@2002kaihui

Copy link
Copy Markdown
Collaborator

Description

Fixes the ILU preconditioner binding to match the updated Ginkgo API.

The previous binding used the old gko::preconditioner::Ilu template interface with explicit lower and upper triangular solver types. The current Ginkgo API expects the template parameters in the form:

gko::preconditioner::Ilu<ValueType, ReverseApply, IndexType>

Type of change

  • Bugfix (non-breaking change which fixes an issue)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • My changes generate no new warnings
  • New and existing tests pass locally with my changes

@yhmtsai yhmtsai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can add the macro here now

Comment thread src/cpp_bindings/preconditioner/ilu.cpp
@yhmtsai yhmtsai self-requested a review May 13, 2026 09:17
@2002kaihui 2002kaihui merged commit 9fd7ba2 into main May 18, 2026
6 of 7 checks passed
@2002kaihui 2002kaihui deleted the fix/ilu-gko-api-mismatch branch May 26, 2026 07:50
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.

3 participants