paboyle / Grid

Data parallel C++ mathematical object library
GNU General Public License v2.0
155 stars 111 forks source link

Feature/test meson field #363

Closed felixerben closed 3 years ago

felixerben commented 3 years ago

Hi Peter,

this is the test I promised to write. It does the following things:

Using h5diff you should then be able to verify that the output hasn't changed when changing the code.

For distillation, a straightforward optimisation would be to accelerate the phi-rho and rho-rho meson fields by only computing them for t=TSRC (or even better, a list passed to the routine). All other components are predictably zero.

The other optimisation is obviously the loop order in the kernel. I'm happy to get involved with this as well if there is any way I can help you.

paboyle commented 3 years ago

Thanks