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

Extract inner cri calc into separate subroutine #349

Closed
wants to merge 19 commits into from

Conversation

connoraird
Copy link
Contributor

I believe the code within the do nsf2 = 1, jb%nsup loop of m_kern_exx_cri and m_kern_exx_eri is almost identical. Therefore, we should be able to extract this into a subroutine and therefore get the gain of using BLAS and any other optimisation in one place.

The current issue is that in m_ker_exx_eri there is an option to backup_eris. If true, this contiguously accesses a 1D array via eris(kpart)%store_eris(count). With the new OpenMP thread implementation we no longer access these elements in this order.

@connoraird connoraird force-pushed the 346-extract-inner-calc branch from 02824e0 to ddab600 Compare April 26, 2024 14:49
@connoraird connoraird force-pushed the 346-extract-inner-calc branch 10 times, most recently from 0f3327e to fb1641d Compare May 17, 2024 13:43
@connoraird connoraird force-pushed the 346-extract-inner-calc branch from fb1641d to a8b3685 Compare May 17, 2024 15:28
@connoraird connoraird force-pushed the 346-extract-inner-calc branch 3 times, most recently from c1e66db to 47bfa7d Compare May 21, 2024 10:26
@connoraird connoraird force-pushed the 346-extract-inner-calc branch from 47bfa7d to ec4f1d9 Compare May 21, 2024 10:40
@connoraird connoraird closed this May 22, 2024
@connoraird connoraird deleted the 346-extract-inner-calc branch May 22, 2024 09:19
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