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

Improvement to populating the max_d array with indices instead of distances.

parent b20734aa
No related branches found
No related tags found
1 merge request!396Avx512 fixes
...@@ -64,7 +64,7 @@ struct cache { ...@@ -64,7 +64,7 @@ struct cache {
float *restrict vz __attribute__((aligned(CACHE_ALIGN))); float *restrict vz __attribute__((aligned(CACHE_ALIGN)));
/* Maximum distance of particles into neighbouring cell. */ /* Maximum distance of particles into neighbouring cell. */
float *restrict max_d __attribute__((aligned(CACHE_ALIGN))); int *restrict max_d __attribute__((aligned(CACHE_ALIGN)));
/* Cache size. */ /* Cache size. */
int count; int count;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment