Commit 2c149eb6 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

better density self-interaction.


Former-commit-id: c5fa53714af80cac2803940a719eb73fc5120e18
parent 2468664e
......@@ -167,7 +167,7 @@ void cell_unlocktree( struct cell *c ) {
void cell_split ( struct cell *c ) {
int i, j, k, kk;
int i, j, k;
struct part temp, *parts = c->parts;
int left[8], right[8];
double pivot[3];
......
This diff is collapsed.
......@@ -26,7 +26,7 @@
#define space_splitratio 0.875f
#define space_splitsize_default 400
#define space_subsize_default 5000
#define space_dosub 1
#define space_dosub 0
#define space_stretch 1.05f
#define space_maxtaskspercell 31
#define space_maxreldx 0.2f
......
......@@ -27,7 +27,7 @@
#define VEC_MACRO(elcount, type) __attribute__((vector_size((elcount)*sizeof(type)))) type
/* So what will the vector size be? */
#ifdef NO__AVX__
#ifdef __AVX__
#define VECTORIZE
#define VEC_SIZE 8
#define VEC_FLOAT __m256
......@@ -54,7 +54,7 @@
#define vec_dbl_ftoi(a) _mm256_cvttpd_epi32(a)
#define vec_dbl_fmin(a,b) _mm256_min_pd(a,b)
#define vec_dbl_fmax(a,b) _mm256_max_pd(a,b)
#elif defined( NO__SSE2__ )
#elif defined( __SSE2__ )
#define VECTORIZE
#define VEC_SIZE 4
#define VEC_FLOAT __m128
......
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