1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-05 19:55:56 +01:00

make simd width configure time option for GPU

This commit is contained in:
Peter Boyle 2018-07-23 06:10:55 -04:00
parent 28db0631ff
commit 1fd08c21ac

View File

@ -36,9 +36,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
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 pair>
class GpuComplex {