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

Modified ifdef macro as GADGET_SPH now has a vectorised density version.

parent 537db832
No related branches found
No related tags found
1 merge request!204Intrinsic vectorisation
...@@ -354,7 +354,7 @@ int main(int argc, char *argv[]) { ...@@ -354,7 +354,7 @@ int main(int argc, char *argv[]) {
const ticks tic = getticks(); const ticks tic = getticks();
#if defined(DEFAULT_SPH) || !defined(WITH_VECTORIZATION) #if defined(DEFAULT_SPH) || defined(GADGET2_SPH)
/* Run all the pairs */ /* Run all the pairs */
for (int j = 0; j < 27; ++j) for (int j = 0; j < 27; ++j)
...@@ -390,7 +390,7 @@ int main(int argc, char *argv[]) { ...@@ -390,7 +390,7 @@ int main(int argc, char *argv[]) {
const ticks tic = getticks(); const ticks tic = getticks();
#if defined(DEFAULT_SPH) || !defined(WITH_VECTORIZATION) #if defined(DEFAULT_SPH) || defined(GADGET2_SPH)
/* Run all the brute-force pairs */ /* Run all the brute-force pairs */
for (int j = 0; j < 27; ++j) for (int j = 0; j < 27; ++j)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment