-
Notifications
You must be signed in to change notification settings - Fork 28
Device UKS/GKS Implementation #91
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
Conversation
wavefunction91
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick once over - this looks like a good start. Definitely want to get UKS GGA + unification of the RKS/UKS drivers (e.g. the local_work bits). Will do a more thorough review once its more complete!
src/xc_integrator/local_work_driver/device/cuda/kernels/uvvars.cu
Outdated
Show resolved
Hide resolved
src/xc_integrator/local_work_driver/device/cuda/kernels/uvvars.cu
Outdated
Show resolved
Hide resolved
src/xc_integrator/local_work_driver/device/cuda/kernels/uvvars.cu
Outdated
Show resolved
Hide resolved
src/xc_integrator/local_work_driver/device/local_device_work_driver.hpp
Outdated
Show resolved
Hide resolved
… some overloaded funcs
src/xc_integrator/replicated/device/shellbatched_replicated_xc_device_integrator_exc_vxc.hpp
Outdated
Show resolved
Hide resolved
src/xc_integrator/local_work_driver/device/cuda/kernels/uvvars.cu
Outdated
Show resolved
Hide resolved
src/xc_integrator/local_work_driver/device/cuda/kernels/zmat_vxc.cu
Outdated
Show resolved
Hide resolved
src/xc_integrator/local_work_driver/device/cuda/kernels/zmat_vxc.cu
Outdated
Show resolved
Hide resolved
src/xc_integrator/replicated/device/shellbatched_replicated_xc_device_integrator.hpp
Outdated
Show resolved
Hide resolved
src/xc_integrator/replicated/device/shellbatched_replicated_xc_device_integrator_exc_vxc.hpp
Outdated
Show resolved
Hide resolved
wavefunction91
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a screenshot / terminal output showing no performance degradation for Ubi DZ/PBE between current master and this PR + the misc minor changes noted, and this is g2g.
Sorry for the delay.
|
|
||
| if (mtemp > dtolsq) { | ||
| const double inv_mnorm = rsqrt(mtemp); | ||
| mnorm = 1./inv_mnorm; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future note, this is likely the culprit for #134.
src/xc_integrator/replicated/device/incore_replicated_xc_device_integrator_exc_vxc.hpp
Outdated
Show resolved
Hide resolved
src/xc_integrator/shell_batched/shell_batched_replicated_xc_integrator_exc_grad.hpp
Outdated
Show resolved
Hide resolved
src/xc_integrator/shell_batched/shell_batched_replicated_xc_integrator_exx.hpp
Outdated
Show resolved
Hide resolved
wavefunction91
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM


This PR adds device (CUDA) support for XC calculations with Unrestricted and Generalized Kohn-Sham references. LDA and GGA functionals are supported.