EnzymeAD/Enzyme

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

Open

#962 建立於 2023年1月9日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)LLVM (165 fork)github user discovery
good first issue

倉庫指標

Star
 (1,613 star)
PR 合併指標
 (平均合併 3天 2小時) (30 天內合併 49 個 PR)

描述

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)

貢獻者指南