Skip to content
Snippets Groups Projects
Commit 143abee2 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

The variables accessed via __sync_fetch_add() should be int not chars.

parent eddc2801
Branches
Tags
1 merge request!270No specific counters and leaner cell structure.
......@@ -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. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment