From 1fd08c21ac781c0bb1530bb479a1ae278ae0ce96 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Mon, 23 Jul 2018 06:10:55 -0400 Subject: [PATCH] make simd width configure time option for GPU --- lib/simd/Grid_gpu_vec.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/simd/Grid_gpu_vec.h b/lib/simd/Grid_gpu_vec.h index 0d30c68d..471fbccc 100644 --- a/lib/simd/Grid_gpu_vec.h +++ b/lib/simd/Grid_gpu_vec.h @@ -36,9 +36,7 @@ Author: Peter Boyle namespace Grid { - //#define COALESCE_GRANULARITY (64) // bytes for coalesce granularity of target: Pascal, Volta - //#define COALESCE_GRANULARITY (32) // bytes for coalesce granularity of target: Pascal, Volta - #define COALESCE_GRANULARITY (16) // bytes for coalesce granularity of target: Pascal, Volta +#define COALESCE_GRANULARITY ( GEN_SIMD_WIDTH ) template class GpuComplex {