Changes between Version 4 and Version 5 of kernel_miscelaneous


Ignore:
Timestamp:
Jan 24, 2015, 12:17:56 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_miscelaneous

    v4 v5  
    2828the '''buf_vbase''' and '''buf_size''' arguments.
    2929
    30 === void '''_get_sqt_footprint'''( unsigned int* width,  unsigned int* heigth,  unsigned int* levels ) ===
    31 Scalable, distributed synchronisation mechanisms , such as a barrier or a lock can be implemented with a Synchronisation Quad Tree (SQT). This function computes the smallest SQT  covering all clusters containing processors in a platform. The SQT footprint is defined by the '''width'''  (number of clusters in a row) and  '''heigth''' (number of clusters in a column) parameters. The '''levels''' parameter define the number of levels between the root and the leaves, with the following constraints:
     30=== void '''_get_sqt_footprint'''( unsigned int* xmax,  unsigned int* ymax,  unsigned int* levels ) ===
     31Scalable, distributed synchronisation mechanisms, such as barriers or locks use Synchronisation Quad Tree (SQT). This function computes the smallest SQT  covering all clusters containing processors in a platform. The SQT footprint is defined by the '''xmax'''  (max number of clusters in a row) and  '''ymax''' (max number of clusters in a column) parameters. The '''levels''' parameter define the number of levels between the SQT root and the SQT bottom, with the following features:
    3232 * cluster[0][0] is always covered by the SQT
    33  * width and heigth are not  always power of 2
    34  * they cannot be larger than the mesh (X_SIZE/Y_SIZE) parameters,
    35  * they can be smaller when the upper row, or the right column does not contain processors.
     33 * xmax & ymax are not  always power of 2
     34 * xmax & ymax cannot be larger than the (X_SIZE/Y_SIZE) parameters, but can be smaller (when the upper rows, or the right columns do not contain processors).
    3635
    3736