milc-qcd / milc_qcd

MILC collaboration code for lattice QCD calculations
Other
34 stars 33 forks source link

Feature/resident mom #34

Closed maddyscientist closed 4 years ago

maddyscientist commented 4 years ago

This is partner PR to https://github.com/lattice/quda/pull/1014, which enables full residency of the momentum field during RHMC evolution avoiding copies between host and device.

If the momentum is desired back on the host, then the function qudaMomSave can be used, which will invalidate the resident field, restoring host-device copying until qudaMomLoad is called again.

This PR is dependent https://github.com/lattice/quda/pull/1014.