Changes between Version 4 and Version 5 of library_barrier


Ignore:
Timestamp:
Aug 4, 2014, 3:16:58 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_barrier

    v4 v5  
    99== A) Simple Barrier ==
    1010
    11 The "giet_barrier_t" is a simple sense-reversing barrier. It can be safely used several times (in a loop for example),
     11The ''giet_barrier_t'' is a simple sense-reversing barrier. It can be safely used several times (in a loop for example),
    1212but it does not scale, and should not be used when the number of expected tasks is larger than few tens.
    1313
     
    2222== B) Distributed Barrier ==
    2323
    24 The ''giet_sbt_barrier_t" can be used in multi-clusters architectures, and is implemented as a physically distributed Sliced-Binary-Tree (SBT).
     24The ''giet_sbt_barrier_t'' can be used in multi-clusters architectures, and is implemented as a physically distributed Sliced-Binary-Tree (SBT).
    2525To use this distributed barrier, some placement constraints must be respected:
    2626 * The number of tasks must be a power of 2.
     
    3535The ''barrier'' argument is a pointer on a ''giet_barrier_t'' object. The ''ntasks'' argument is the number of expected tasks.
    3636
    37 The sbt_barrier_init() contains a system call, but the sbt_barrier_wait does not.
     37The sbt_barrier_init() contains a system call, but the sbt_barrier_wait() does not.
    3838
    3939'''WARNING:''' For both types of barriers, the barrier initialisation should be done by one single task.