diff --git a/src/hydro/Gadget2/hydro_iact.h b/src/hydro/Gadget2/hydro_iact.h index d0ab9c04cee5037cbf61c0a617645299446493d5..64145f7c8e74472d45167817d9ad7b702417b3e6 100644 --- a/src/hydro/Gadget2/hydro_iact.h +++ b/src/hydro/Gadget2/hydro_iact.h @@ -109,7 +109,10 @@ __attribute__((always_inline)) INLINE static void runner_iact_density( __attribute__((always_inline)) INLINE static void runner_iact_vec_density( float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, struct part **pj) { - error("A vectorised version of the Gadget2 density interaction function does not exist yet! Configure with '--disable-vec' to call the non-vectorised version.") + error( + "A vectorised version of the Gadget2 density interaction function does " + "not exist yet! Configure with '--disable-vec' to call the " + "non-vectorised version.") } /** @@ -166,7 +169,10 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_density( __attribute__((always_inline)) INLINE static void runner_iact_nonsym_vec_density(float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, struct part **pj) { - error("A vectorised version of the Gadget2 non-symmetric density interaction function does not exist yet! Configure with '--disable-vec' to call the non-vectorised version.") + error( + "A vectorised version of the Gadget2 non-symmetric density interaction " + "function does not exist yet! Configure with '--disable-vec' to call the " + "non-vectorised version.") } /** @@ -272,7 +278,10 @@ __attribute__((always_inline)) INLINE static void runner_iact_force( __attribute__((always_inline)) INLINE static void runner_iact_vec_force( float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, struct part **pj) { - error("A vectorised version of the Gadget2 force interaction function does not exist yet! Configure with '--disable-vec' to call the non-vectorised version.") + error( + "A vectorised version of the Gadget2 force interaction function does not " + "exist yet! Configure with '--disable-vec' to call the non-vectorised " + "version.") } /** @@ -371,7 +380,10 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_force( __attribute__((always_inline)) INLINE static void runner_iact_nonsym_vec_force( float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, struct part **pj) { - error("A vectorised version of the Gadget2 non-symmetric density interaction function does not exist yet! Configure with '--disable-vec' to call the non-vectorised version.") + error( + "A vectorised version of the Gadget2 non-symmetric density interaction " + "function does not exist yet! Configure with '--disable-vec' to call the " + "non-vectorised version.") } #endif /* SWIFT_RUNNER_IACT_LEGACY_H */ diff --git a/src/hydro/Minimal/hydro_iact.h b/src/hydro/Minimal/hydro_iact.h index ba066c980c41650399f68bbbc5f1cee7472b8c71..009f0389ba825bcd3de81c9f27f4a0142b371b8f 100644 --- a/src/hydro/Minimal/hydro_iact.h +++ b/src/hydro/Minimal/hydro_iact.h @@ -67,7 +67,10 @@ __attribute__((always_inline)) INLINE static void runner_iact_density( __attribute__((always_inline)) INLINE static void runner_iact_vec_density( float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, struct part **pj) { - error("A vectorised version of the Minimal density interaction function does not exist yet! Configure with '--disable-vec' to call the non-vectorised version.") + error( + "A vectorised version of the Minimal density interaction function does " + "not exist yet! Configure with '--disable-vec' to call the " + "non-vectorised version.") } /** @@ -100,7 +103,10 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_density( __attribute__((always_inline)) INLINE static void runner_iact_nonsym_vec_density(float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, struct part **pj) { - error("A vectorised version of the Minimal non-symmetric density interaction function does not exist yet! Configure with '--disable-vec' to call the non-vectorised version.") + error( + "A vectorised version of the Minimal non-symmetric density interaction " + "function does not exist yet! Configure with '--disable-vec' to call the " + "non-vectorised version.") } /** @@ -181,7 +187,10 @@ __attribute__((always_inline)) INLINE static void runner_iact_force( __attribute__((always_inline)) INLINE static void runner_iact_vec_force( float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, struct part **pj) { - error("A vectorised version of the Minimal force interaction function does not exist yet! Configure with '--disable-vec' to call the non-vectorised version.") + error( + "A vectorised version of the Minimal force interaction function does not " + "exist yet! Configure with '--disable-vec' to call the non-vectorised " + "version.") } /** @@ -255,8 +264,10 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_force( __attribute__((always_inline)) INLINE static void runner_iact_nonsym_vec_force( float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, struct part **pj) { - error("A vectorised version of the Minimal non-symmetric density interaction function does not exist yet! Configure with '--disable-vec' to call the non-vectorised version.") + error( + "A vectorised version of the Minimal non-symmetric density interaction " + "function does not exist yet! Configure with '--disable-vec' to call the " + "non-vectorised version.") } - #endif /* SWIFT_RUNNER_IACT_MINIMAL_H */ diff --git a/src/vector.h b/src/vector.h index d7de520464a19cac2ddde9b2713ff328870cfc1e..53869fd2594227d3332d7435f47cdff7cded224b 100644 --- a/src/vector.h +++ b/src/vector.h @@ -40,7 +40,7 @@ __attribute__((vector_size((elcount) * sizeof(type)))) type /* So what will the vector size be? */ -#ifdef HAVE_AVX512_F +#ifdef HAVE_AVX512_F #define VEC_HAVE_GATHER #define VEC_SIZE 16 #define VEC_FLOAT __m512