Commit 56e0b3ed authored by James Willis's avatar James Willis
Browse files

Replaced all occurrences of 'VECTORIZE' with 'WITH_VECTORIZATION'.

parent c4e80510
...@@ -101,7 +101,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_vec_density( ...@@ -101,7 +101,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_vec_density(
float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, float *R2, float *Dx, float *Hi, float *Hj, struct part **pi,
struct part **pj) { struct part **pj) {
#ifdef VECTORIZE #ifdef WITH_VECTORIZATION
vector r, ri, r2, xi, xj, hi, hj, hi_inv, hj_inv, wi, wj, wi_dx, wj_dx; vector r, ri, r2, xi, xj, hi, hj, hi_inv, hj_inv, wi, wj, wi_dx, wj_dx;
vector rhoi, rhoj, rhoi_dh, rhoj_dh, wcounti, wcountj, wcounti_dh, wcountj_dh; vector rhoi, rhoj, rhoi_dh, rhoj_dh, wcounti, wcountj, wcounti_dh, wcountj_dh;
...@@ -263,7 +263,7 @@ __attribute__((always_inline)) INLINE static void ...@@ -263,7 +263,7 @@ __attribute__((always_inline)) INLINE static void
runner_iact_nonsym_vec_density(float *R2, float *Dx, float *Hi, float *Hj, runner_iact_nonsym_vec_density(float *R2, float *Dx, float *Hi, float *Hj,
struct part **pi, struct part **pj) { struct part **pi, struct part **pj) {
#ifdef VECTORIZE #ifdef WITH_VECTORIZATION
vector r, ri, r2, xi, hi, hi_inv, wi, wi_dx; vector r, ri, r2, xi, hi, hi_inv, wi, wi_dx;
vector rhoi, rhoi_dh, wcounti, wcounti_dh, div_vi; vector rhoi, rhoi_dh, wcounti, wcounti_dh, div_vi;
...@@ -450,7 +450,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_vec_force( ...@@ -450,7 +450,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_vec_force(
float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, float *R2, float *Dx, float *Hi, float *Hj, struct part **pi,
struct part **pj) { struct part **pj) {
#ifdef VECTORIZE #ifdef WITH_VECTORIZATION
vector r, r2, ri; vector r, r2, ri;
vector xi, xj; vector xi, xj;
...@@ -758,7 +758,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_vec_force( ...@@ -758,7 +758,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_vec_force(
float *R2, float *Dx, float *Hi, float *Hj, struct part **pi, float *R2, float *Dx, float *Hi, float *Hj, struct part **pi,
struct part **pj) { struct part **pj) {
#ifdef VECTORIZE #ifdef WITH_VECTORIZATION
vector r, r2, ri; vector r, r2, ri;
vector xi, xj; vector xi, xj;
......
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