Commit 5fe848cb authored by James Willis's avatar James Willis
Browse files

Only use #pragma novector if compiling with ICC.

parent 0605989b
...@@ -279,8 +279,10 @@ void test_interactions(struct part test_part, struct part *parts, size_t count, ...@@ -279,8 +279,10 @@ void test_interactions(struct part test_part, struct part *parts, size_t count,
} }
const ticks tic = getticks(); const ticks tic = getticks();
/* Perform serial interaction */ /* Perform serial interaction */
#ifdef __ICC
#pragma novector #pragma novector
#endif
for (size_t i = 0; i < count; i++) { for (size_t i = 0; i < count; i++) {
IACT(r2[i], &(dx[3 * i]), pi_serial.h, pj_serial[i].h, &pi_serial, IACT(r2[i], &(dx[3 * i]), pi_serial.h, pj_serial[i].h, &pi_serial,
&pj_serial[i]); &pj_serial[i]);
......
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