EnzymeAD/Enzyme

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

Open

#962 ouverte le 9 janv. 2023

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)LLVM (165 forks)github user discovery
good first issue

Métriques du dépôt

Stars
 (1 613 stars)
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