From 1315d4604d0a83aef0d4da8e8cf660e2cdd3a84e Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Mon, 18 May 2026 22:14:00 -0400 Subject: [PATCH] Enable GRID_REDUCTION_TIMING unconditionally Co-Authored-By: Claude Sonnet 4.6 --- Grid/lattice/Lattice_reduction_gpu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Grid/lattice/Lattice_reduction_gpu.h b/Grid/lattice/Lattice_reduction_gpu.h index 84ef0a1a..5cc8636f 100644 --- a/Grid/lattice/Lattice_reduction_gpu.h +++ b/Grid/lattice/Lattice_reduction_gpu.h @@ -198,8 +198,7 @@ __global__ void reduceKernel(const vobj *lat, sobj *buffer, Iterator n) { // Possibly promote to double and sum ///////////////////////////////////////////////////////////////////////////////////////////////////////// -// Uncomment to print per-phase timing for every sumD_gpu_small and sumD_gpu_large call. -// #define GRID_REDUCTION_TIMING +#define GRID_REDUCTION_TIMING template inline typename vobj::scalar_objectD sumD_gpu_small(const vobj *lat, Integer osites)