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
143abee2
Commit
143abee2
authored
8 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
The variables accessed via __sync_fetch_add() should be int not chars.
parent
eddc2801
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!270
No specific counters and leaner cell structure.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cell.h
+6
-6
6 additions, 6 deletions
src/cell.h
with
6 additions
and
6 deletions
src/cell.h
+
6
−
6
View file @
143abee2
...
...
@@ -246,6 +246,12 @@ struct cell {
/*! ID of the node this cell lives on. */
int
nodeID
;
/*! Is the #part data of this cell being used in a sub-cell? */
int
hold
;
/*! Is the #gpart data of this cell being used in a sub-cell? */
int
ghold
;
/*! Number of tasks that are associated with this cell. */
short
int
nr_tasks
;
...
...
@@ -258,12 +264,6 @@ struct cell {
/*! The maximal depth of this cell and its progenies */
char
maxdepth
;
/*! Is the #part data of this cell being used in a sub-cell? */
char
hold
;
/*! Is the #gpart data of this cell being used in a sub-cell? */
char
ghold
;
}
SWIFT_STRUCT_ALIGN
;
/* Convert cell location to ID. */
...
...
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