Commit 11728165 authored by James Willis's avatar James Willis
Browse files

Inline vector functions.

parent 5b975d78
...@@ -162,7 +162,7 @@ __attribute__((always_inline)) INLINE static void storeInteractions(const int ma ...@@ -162,7 +162,7 @@ __attribute__((always_inline)) INLINE static void storeInteractions(const int ma
* @param r The #runner. * @param r The #runner.
* @param c The #cell. * @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 #ifdef WITH_VECTORIZATION
const int ti_current = r->e->ti_current; const int ti_current = r->e->ti_current;
...@@ -383,7 +383,7 @@ void runner_doself1_density_vec(struct runner *r, struct cell *restrict c) { ...@@ -383,7 +383,7 @@ void runner_doself1_density_vec(struct runner *r, struct cell *restrict c) {
* @param r The #runner. * @param r The #runner.
* @param c The #cell. * @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 #ifdef WITH_VECTORIZATION
const int ti_current = r->e->ti_current; const int ti_current = r->e->ti_current;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment