RRZE-HPC / kerncraft

Loop Kernel Analysis and Performance Modeling Toolkit
GNU Affero General Public License v3.0
88 stars 24 forks source link

LC mode overcounting data transfers on this particaular code #82

Closed christiealappatt closed 6 years ago

christiealappatt commented 6 years ago

In the code attached LC running kerncraft in LC mode predicts 7 misses and 1 evict, but actually the value is 6 misses and 1 evict. The SIM mode is fine here. An example run : kerncraft -p ECM -m Emmy.yml -D n 1000000 -D s 4 LC_lji.c --cache-predictor=LC -vvv

LC_overpred.tar.gz

cod3monk commented 6 years ago

A was considered as a variably accessed array, eventhough it only varies with l, and therefore accounted wrongfully for one additional access on all cache levels. Will be fixt shortly.