Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subroutine radiation_force_p has an extra loop #35

Merged
merged 5 commits into from
Jun 4, 2024
Merged

Conversation

quantumsteve
Copy link
Collaborator

@quantumsteve quantumsteve commented Apr 25, 2024

The existing implementation of subroutine radiation_force_p contains a loop over params%pchunk despite already being called inside a loop over params%pchunk. There should just be one loop...otherwise it'll only make sense when pchunk == 1.

I tried using !$omp declare simd which requires GCC 12.3 or later.

Signed-off-by: Steven Hahn <[email protected]>
Signed-off-by: Steven Hahn <[email protected]>
@quantumsteve quantumsteve requested a review from mbeidler3 April 25, 2024 15:44
@quantumsteve
Copy link
Collaborator Author

Test this please

Signed-off-by: Steven Hahn <[email protected]>
@quantumsteve
Copy link
Collaborator Author

Test this please

Copy link
Collaborator

@mbeidler3 mbeidler3 left a comment

Choose a reason for hiding this comment

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

Sorry for not doing this earlier. This looks great!

@mbeidler3 mbeidler3 merged commit 9a2efb4 into main Jun 4, 2024
3 checks passed
@mbeidler3 mbeidler3 deleted the korc_ppusher_simd branch June 4, 2024 16:10
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.

2 participants