From 1172816593b289cb42caa5fe8cd2a600ece2c792 Mon Sep 17 00:00:00 2001 From: James Willis <james.s.willis@durham.ac.uk> Date: Thu, 1 Dec 2016 15:48:30 +0000 Subject: [PATCH] Inline vector functions. --- src/runner_doiact_vec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runner_doiact_vec.c b/src/runner_doiact_vec.c index 8911c43209..720cba2c83 100644 --- a/src/runner_doiact_vec.c +++ b/src/runner_doiact_vec.c @@ -162,7 +162,7 @@ __attribute__((always_inline)) INLINE static void storeInteractions(const int ma * @param r The #runner. * @param c The #cell. */ -void runner_doself1_density_vec(struct runner *r, struct cell *restrict c) { +__attribute__((always_inline)) INLINE void runner_doself1_density_vec(struct runner *r, struct cell *restrict c) { #ifdef WITH_VECTORIZATION const int ti_current = r->e->ti_current; @@ -383,7 +383,7 @@ void runner_doself1_density_vec(struct runner *r, struct cell *restrict c) { * @param r The #runner. * @param c The #cell. */ -void runner_doself1_density_vec_2(struct runner *r, struct cell *restrict c) { +__attribute__((always_inline)) INLINE void runner_doself1_density_vec_2(struct runner *r, struct cell *restrict c) { #ifdef WITH_VECTORIZATION const int ti_current = r->e->ti_current; -- GitLab