Skip to content

Conversation

@MarcelKoch
Copy link
Member

This PR fixes the parameter ordering of the initialize function for the reference+omp implementation of the batch CG. Additionally, a parameter name in update_x_and_r is changed to better reflect the actually used variable.

@MarcelKoch MarcelKoch added the 1:ST:ready-for-review This PR is ready for review label Oct 17, 2024
@MarcelKoch MarcelKoch requested a review from a team October 17, 2024 08:32
@MarcelKoch MarcelKoch self-assigned this Oct 17, 2024
@ginkgo-bot ginkgo-bot added mod:reference This is related to the reference module. type:solver This is related to the solvers labels Oct 17, 2024
@MarcelKoch MarcelKoch added this to the Ginkgo 1.9.0 milestone Oct 17, 2024
@pratikvn pratikvn self-requested a review October 22, 2024 07:52
Copy link
Member

@yhmtsai yhmtsai left a comment

Choose a reason for hiding this comment

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

LGTM.
one question might to @pratikvn : is there any reason that the device side follows the another algorithm more?

@pratikvn
Copy link
Member

I think we re-arranged it so that the convergence check is first. But I dont see a particular reason for that. I will maybe compare the performance for both and maybe unify the device side to the reference one as well.

@yhmtsai yhmtsai added 1:ST:ready-to-merge This PR is ready to merge. and removed 1:ST:ready-for-review This PR is ready for review labels Oct 22, 2024
@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.05%. Comparing base (9e7bfa7) to head (30c2d86).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1701      +/-   ##
===========================================
+ Coverage    90.24%   92.05%   +1.81%     
===========================================
  Files          764      764              
  Lines        62927    62678     -249     
===========================================
+ Hits         56787    57701     +914     
+ Misses        6140     4977    -1163     

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

@MarcelKoch MarcelKoch merged commit 568a759 into develop Oct 25, 2024
11 of 14 checks passed
@MarcelKoch MarcelKoch deleted the fix-batched-cg-ref branch October 25, 2024 07:01
MarcelKoch added a commit to MarcelKoch/ginkgo that referenced this pull request Dec 2, 2024
This merge fixes the parameter ordering of the `initialize` function for the reference+omp implementation of the batch CG. Additionally, a parameter name in `update_x_and_r` is changed to better reflect the actually used variable.

Related PR: ginkgo-project#1701
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1:ST:ready-to-merge This PR is ready to merge. mod:reference This is related to the reference module. type:solver This is related to the solvers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants