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

Define vector length for GPU

This commit is contained in:
Peter Boyle 2018-07-23 06:09:05 -04:00
parent 21a1710b43
commit a0714de8ec

View File

@ -271,6 +271,9 @@ case ${ax_cv_cxx_compiler_vendor} in
SIMD_FLAGS='';;
VGPU)
AC_DEFINE([GPU_VEC],[1],[GPU vectorised 512bit])
AC_DEFINE_UNQUOTED([GEN_SIMD_WIDTH],[$ac_gen_simd_width],
[generic SIMD vector width (in bytes)])
SIMD_GEN_WIDTH_MSG=" (width= $ac_gen_simd_width)"
SIMD_FLAGS='';;
SSE4)
AC_DEFINE([SSE4],[1],[SSE4 intrinsics])