EnzymeAD/Enzyme

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

Open

#962 aberto em 9 de jan. de 2023

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)LLVM (165 forks)github user discovery
good first issue

Métricas do repositório

Stars
 (1.613 stars)
Métricas de merge de PR
 (Mesclagem média 3d 2h) (49 fundiu PRs em 30d)

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)

Guia do colaborador