EnzymeAD/Enzyme

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

Open

#962 opened on 2023年1月9日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)LLVM (165 forks)github user discovery
good first issue

Repository metrics

Stars
 (1,613 stars)
PR merge metrics
 (平均マージ 3d 2h) (30d で 49 merged PRs)

説明

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)

コントリビューターガイド