Motr
M0
|
#include <pdclust.h>
Data Fields | |
uint64_t | tc_tile_no |
uint32_t * | tc_permute |
uint32_t * | tc_inverse |
uint32_t * | tc_lcode |
Caches information about the most recently used tile.
Some auxiliary data, such as permutations, used by layout mapping function is relatively expensive to re-compute. To reduce the overhead, such information is cached.
Currently only information for a single tile is cached. More sophisticated schemes are possible.
uint32_t* tc_inverse |
uint32_t* tc_lcode |
Lehmer code of permutation. This array of m0_pdclust_layout::pl_P elements is used to generate tc_permute[] and tc_inverse[] arrays. Strictly speaking, it is not needed after above arrays are built, but it is kept for completeness.
Technically speaking, this array is a lexicographic number of permutation written in factorial number system (see HLD for references).
uint32_t* tc_permute |
uint64_t tc_tile_no |