Skip to content
Snippets Groups Projects
Commit 5da42d3e authored by James Willis's avatar James Willis
Browse files

dopair2_force_vec now works.

parent 497e2fd1
Branches
Tags
1 merge request!440Dopair2 vectorisation
......@@ -1468,9 +1468,6 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
hj_max, di_max, dj_min, max_index_i, max_index_j,
&first_pi, &last_pj, e);
first_pi = 0;
last_pj = count_j - 1;
/* Limits of the outer loops. */
int first_pi_loop = first_pi;
int last_pj_loop = last_pj;
......@@ -1480,9 +1477,6 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
last_pj = max(last_pj, max_index_i[count_i - 1]);
first_pi = min(first_pi, max_index_j[0]);
first_pi = 0;
last_pj = count_j - 1;
/* Read the needed particles into the two caches. */
int first_pi_align = first_pi;
int last_pj_align = last_pj;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment