Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
143abee2
Commit
143abee2
authored
Oct 19, 2016
by
Matthieu Schaller
Browse files
The variables accessed via __sync_fetch_add() should be int not chars.
parent
eddc2801
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cell.h
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. */
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment