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

Optimize Kokkos implementation #401

Merged
merged 12 commits into from
Aug 15, 2024
Merged

Optimize Kokkos implementation #401

merged 12 commits into from
Aug 15, 2024

Conversation

anjohan
Copy link
Collaborator

@anjohan anjohan commented Jun 11, 2024

This PR includes various optimizations of the Kokkos pair style, should give a performance boost of at least 50% in typical cases. The main optimizations are 1) get rid of the atomic base gradients 2) compute max. "short" neighbor count and use this for basis function launch bounds. I also did minor cleaning.

This (unintentionally) fixes the unit tests with CUDA, which are currently failing on the master branch for the randomly generated systems.

I re-enabled the LAMMPS tests with multiple MPI ranks, both with and without Kokkos.

@anjohan anjohan merged commit b0e8a85 into master Aug 15, 2024
16 checks passed
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