Changes between Version 4 and Version 5 of library_barrier
- Timestamp:
- Aug 4, 2014, 3:16:58 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_barrier
v4 v5 9 9 == A) Simple Barrier == 10 10 11 The "giet_barrier_t"is a simple sense-reversing barrier. It can be safely used several times (in a loop for example),11 The ''giet_barrier_t'' is a simple sense-reversing barrier. It can be safely used several times (in a loop for example), 12 12 but it does not scale, and should not be used when the number of expected tasks is larger than few tens. 13 13 … … 22 22 == B) Distributed Barrier == 23 23 24 The ''giet_sbt_barrier_t "can be used in multi-clusters architectures, and is implemented as a physically distributed Sliced-Binary-Tree (SBT).24 The ''giet_sbt_barrier_t'' can be used in multi-clusters architectures, and is implemented as a physically distributed Sliced-Binary-Tree (SBT). 25 25 To use this distributed barrier, some placement constraints must be respected: 26 26 * The number of tasks must be a power of 2. … … 35 35 The ''barrier'' argument is a pointer on a ''giet_barrier_t'' object. The ''ntasks'' argument is the number of expected tasks. 36 36 37 The sbt_barrier_init() contains a system call, but the sbt_barrier_wait does not.37 The sbt_barrier_init() contains a system call, but the sbt_barrier_wait() does not. 38 38 39 39 '''WARNING:''' For both types of barriers, the barrier initialisation should be done by one single task.