Ignore:
Timestamp:
Jan 8, 2015, 11:50:25 AM (10 years ago)
Author:
alain
Message:

1) Change the user sbt_barrier_init() prototype: the two (nclusters/ntasks) arguments
replace the single (ntasks) argument.
2) Introduce an explicit (channel) argument in all iuser access functions to the NIC component.
Previously, the channel registered in the task context was an implicit argument.
The channel is still registered in the task context for checking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_libs/barrier.h

    r468 r487  
    1818//    and is implemented as a physically distributed Sliced-Binary-Tree (SBT).
    1919//    WARNING: The following placement constraints must be respected:
    20 //    - The number of tasks must be a power of 2.
    21 //    - There is one task per processor in a given cluster.
     20//    - The number of involved clusters must be a power of 2.
     21//    - The number of involved tasks in a cluster is the same in all clusters.
    2222//    - The involved clusters form a mesh[N][N] or a mesh[N][N/2]
    2323//    - The lower left involved cluster is cluster(0,0) 
     
    8181///////////////////////////////////////////////////////////
    8282extern void sbt_barrier_init( giet_sbt_barrier_t*  barrier,
     83                              unsigned int         nclusters,
    8384                              unsigned int         ntasks );   
    8485
     
    9192                unsigned int         y,
    9293                unsigned int         level,
    93                 sbt_node_t*          parent );
     94                sbt_node_t*          parent,
     95                unsigned int         ntasks );
    9496
    9597///////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.