EnzymeAD/Enzyme

Track the number of cached/recomputed values using the LLVM statistics macro

Open

#962 aperta il 9 gen 2023

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)LLVM (165 fork)github user discovery
good first issue

Metriche repository

Star
 (1613 star)
Metriche merge PR
 (Merge medio 3g 2h) (49 PR mergiate in 30 g)

Descrizione

https://llvm.org/docs/ProgrammersManual.html#id38

#include "llvm/ADT/Statistic.h"

STATISTIC(NumCachedValues, "Number of values cached");
STATISTIC(NumRecomputedValues, "Number of values recomputed");

Other stats to track:

  • GPU gradient accumulation
    • Non-atomic load/store
    • Parallel Reduction
    • Atomic increment
  • Allocation Merging
  • Heap-to-stack (and register)

Guida contributor