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

Added auto-vectorised version of DOPAIR1.

parent 45c8f576
...@@ -52,6 +52,11 @@ ...@@ -52,6 +52,11 @@
#define DOPAIR1_NAME "runner_dopair1_density_vec" #define DOPAIR1_NAME "runner_dopair1_density_vec"
#endif #endif
#if defined(WITH_VECTORIZATION) && defined(DOPAIR1_AUTO_VEC)
#define DOPAIR1 runner_dopair1_density_auto_vec
#define DOPAIR1_NAME "runner_dopair1_density_auto_vec"
#endif
#ifndef DOPAIR1 #ifndef DOPAIR1
#define DOPAIR1 runner_dopair1_density #define DOPAIR1 runner_dopair1_density
#define DOPAIR1_NAME "runner_dopair1_density" #define DOPAIR1_NAME "runner_dopair1_density"
...@@ -305,6 +310,7 @@ int check_results(struct part *serial_parts, struct part *vec_parts, int count, ...@@ -305,6 +310,7 @@ int check_results(struct part *serial_parts, struct part *vec_parts, int count,
/* Just a forward declaration... */ /* Just a forward declaration... */
void runner_dopair1_density(struct runner *r, struct cell *ci, struct cell *cj); void runner_dopair1_density(struct runner *r, struct cell *ci, struct cell *cj);
void runner_dopair1_density_vec(struct runner *r, struct cell *ci, struct cell *cj); void runner_dopair1_density_vec(struct runner *r, struct cell *ci, struct cell *cj);
void runner_dopair1_density_auto_vec(struct runner *r, struct cell *ci, struct cell *cj);
void runner_doself1_density(struct runner *r, struct cell *ci); void runner_doself1_density(struct runner *r, struct cell *ci);
void runner_doself1_density_vec(struct runner *r, struct cell *ci); void runner_doself1_density_vec(struct runner *r, struct cell *ci);
void runner_doself1_density_vec_2(struct runner *r, struct cell *ci); void runner_doself1_density_vec_2(struct runner *r, struct cell *ci);
......
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