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

TIP4P GPU kernel: shared memory optimization #1876

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

Vsevak
Copy link
Collaborator

@Vsevak Vsevak commented Feb 11, 2020

Summary

This is a small update of pair style lj/cut/tip4p/long/gpu (#1776) for better performance.

Author(s)

Vsevolod Nikolskiy (thevsevak@gmail.com, @Vsevak)
International Laboratory for Supercomputer Atomistic Modelling and Multi-scale Analysis
HSE University, Moscow, Russia

Licensing

By submitting this pull request, I agree, that my contribution will be included in LAMMPS and redistributed under either the GNU General Public License version 2 (GPL v2) or the GNU Lesser General Public License version 2.1 (LGPL v2.1).

Backward Compatibility

The pull request keeps the backward compatibility.

Implementation Notes

I have implemented _fast kernel, that loads atom types data in the GPU shared memory. The fast kernel is invoked if the data fit in the shared memory. This approach is widely used among the pair styles of the GPU package.

Post Submission Checklist

  • The feature or features in this pull request is complete
  • Licensing information is complete
  • Corresponding author information is complete
  • The source code follows the LAMMPS formatting guidelines

@akohlmey akohlmey merged commit 5d467bc into lammps:master Feb 12, 2020
@Vsevak Vsevak deleted the tip4p_gpu_sharedtypes branch February 13, 2020 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants