1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-05-25 19:44:17 +01:00
Files
Grid/tests
Peter Boyle 1e29c59bcc FFT: cache plans per vobj type across calls
Plans are created lazily on the first FFT_dim call and reused for all
subsequent calls on the same FFT object.  PlanCreate<vobj>() can be
called explicitly to pre-warm the cache.  PlanDestroy() must be called
before switching to a different vobj type; the destructor cleans up any
live plans automatically.

Update Test_fft.cc and Test_fftf.cc to call PlanDestroy() between the
LatticeComplex and LatticeSpinMatrix sections that reuse the same FFT object.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 15:12:10 -04:00
..
2025-11-14 18:12:27 -05:00
2021-10-12 16:00:32 +01:00
2023-05-11 12:22:24 -04:00
2022-05-19 16:45:41 -07:00