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

Fixed precision accumulation for force and energy values #94

Open
ancahamuraru opened this issue Mar 31, 2015 · 1 comment
Open

Fixed precision accumulation for force and energy values #94

ancahamuraru opened this issue Mar 31, 2015 · 1 comment

Comments

@ancahamuraru
Copy link

Implement the accumulation for force and energy using fixed precision - this way the current flavors of atomicAdd_x_y functions from vectype_ops.clh could drop the costly while loop in favor of existing atomic functions for integer accumulation.

Evaluate performance, compare the change in precision for the final results and decide if the kernels should use the fixed precision or floating point implementation.

@pszi1ard
Copy link

FYI the same thing (in terms of dynamic ranges) should work for us too:
Le Grand , S., Götz, A. W., & Walker, R. C. (2012). SPFP: Speed without compromise—A mixed precision model for GPU accelerated molecular dynamics simulations. Computer Physics Communications, 184(2), 380–374. http://doi.org/10.1016/j.cpc.2012.09.022

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

No branches or pull requests

2 participants