From a0714de8eca44d7f4f47c029dd48379e42280e0a Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Mon, 23 Jul 2018 06:09:05 -0400 Subject: [PATCH] Define vector length for GPU --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 78345c4b..adfb7d18 100644 --- a/configure.ac +++ b/configure.ac @@ -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])