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
8eb92b67
Commit
8eb92b67
authored
8 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Also update the function call in the vectorised self task.
parent
b68408f2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/runner_doiact_vec.c
+2
-2
2 additions, 2 deletions
src/runner_doiact_vec.c
tests/testDump.c
+1
-1
1 addition, 1 deletion
tests/testDump.c
with
3 additions
and
3 deletions
src/runner_doiact_vec.c
+
2
−
2
View file @
8eb92b67
...
...
@@ -287,7 +287,7 @@ __attribute__((always_inline)) INLINE void runner_doself1_density_vec(
if
(
!
cell_is_active
(
c
,
e
))
return
;
if
(
!
cell_is_drifted
(
c
,
e
))
cell_drift
(
c
,
e
);
if
(
!
cell_is_drifted
(
c
,
e
))
cell_drift
_particles
(
c
,
e
);
/* Get the particle cache from the runner and re-allocate
* the cache if it is not big enough for the cell. */
...
...
@@ -536,7 +536,7 @@ __attribute__((always_inline)) INLINE void runner_doself1_density_vec_2(
if
(
!
cell_is_active
(
c
,
e
))
return
;
if
(
!
cell_is_drifted
(
c
,
e
))
cell_drift
(
c
,
e
);
if
(
!
cell_is_drifted
(
c
,
e
))
cell_drift
_particles
(
c
,
e
);
/* TODO: Need to find two active particles, not just one. */
...
...
This diff is collapsed.
Click to expand it.
tests/testDump.c
+
1
−
1
View file @
8eb92b67
...
...
@@ -81,7 +81,7 @@ int main(int argc, char *argv[]) {
/* Clean the threads */
threadpool_clean
(
&
t
);
/* Return a happy number. */
return
0
;
}
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