EnzymeAD/Enzyme

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

オープン

#962 opened on 2023/01/09

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)LLVM (184 件のフォーク)github user discovery
good first issue

Repository metrics

Stars
 (1,679 個のスター)
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)

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