EnzymeAD/Enzyme

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

Ouverte

#962 ouverte le 9 janv. 2023

 (0 commentaire) (0 réaction) (0 personne assignée)LLVM (184 forks)github user discovery
good first issue

Métriques du dépôt

Stars
 (1 679 étoiles)
Métriques de merge PR
 (Merge moyen 3j 2h) (49 PRs mergées en 30 j)

Description

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)

Guide contributeur