search for: cachelinesize

Displaying 4 results from an estimated 4 matches for "cachelinesize".

Did you mean: cache_line_size
2016 Jun 08
5
[Proposal][RFC] Cache aware Loop Cost Analysis
...creates groups of references that would lie in the same cache line. Each group is then analysed with respect to innermost loops considering cache lines. Penalty for the reference is: a. 1, if the reference is invariant with the innermost loop, b. TripCount for non-unit stride access, c. TripCount / CacheLineSize for a unit-stride access. Loop Cost is then calculated as the sum of the reference penalties times the product of the loop bounds of the outer loops. This loop cost can then be used as a profitability measure for cache reuse related optimizations. This is just a brief description; please refer to [...
2016 Jun 09
2
[Proposal][RFC] Cache aware Loop Cost Analysis
...ces that would lie in the > same cache line. Each group is then analysed with respect to innermost > loops considering cache lines. Penalty for the reference is: > a. 1, if the reference is invariant with the innermost loop, > b. TripCount for non-unit stride access, > c. TripCount / CacheLineSize for a unit-stride access. > Loop Cost is then calculated as the sum of the reference penalties times > the product of the loop bounds of the outer loops. This loop cost can then > be used as a profitability measure for cache reuse related optimizations. > This is just a brief descriptio...
2017 Sep 17
0
sysconf and _SC_LEVEL1_DCACHE_LINESIZE returns 0?
...entOS 7 machine (https://gcc.gnu.org/wiki/CompileFarm): $ cat /etc/centos-release CentOS Linux release 7.3.1611 (AltArch) I'm trying to determine L1 data cache size. When the following code runs it returns 0. The man pages state -1 is an error, so I think its claiming to succeed. cacheLineSize = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); GCC119, which is also a S822 Power8 running AIX, returns 128. Does anyone know what I might be doing wrong under Cent? Or maybe, how can I retrieve the L1 data cache line size? Thanks in advance.
2016 Jun 23
2
[Proposal][RFC] Cache aware Loop Cost Analysis
...n the >> same cache line. Each group is then analysed with respect to innermost >> loops considering cache lines. Penalty for the reference is: >> a. 1, if the reference is invariant with the innermost loop, >> b. TripCount for non-unit stride access, >> c. TripCount / CacheLineSize for a unit-stride access. >> Loop Cost is then calculated as the sum of the reference penalties times >> the product of the loop bounds of the outer loops. This loop cost can then >> be used as a profitability measure for cache reuse related optimizations. >> This is just a...