Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
2c149eb6
Commit
2c149eb6
authored
11 years ago
by
Pedro Gonnet
Browse files
Options
Downloads
Patches
Plain Diff
better density self-interaction.
Former-commit-id: c5fa53714af80cac2803940a719eb73fc5120e18
parent
2468664e
No related branches found
No related tags found
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/cell.c
+1
-1
1 addition, 1 deletion
src/cell.c
src/runner_doiact.h
+215
-80
215 additions, 80 deletions
src/runner_doiact.h
src/space.h
+1
-1
1 addition, 1 deletion
src/space.h
src/vector.h
+2
-2
2 additions, 2 deletions
src/vector.h
with
219 additions
and
84 deletions
src/cell.c
+
1
−
1
View file @
2c149eb6
...
...
@@ -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.
Click to expand it.
src/runner_doiact.h
+
215
−
80
View file @
2c149eb6
This diff is collapsed.
Click to expand it.
src/space.h
+
1
−
1
View file @
2c149eb6
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/vector.h
+
2
−
2
View file @
2c149eb6
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment