EnzymeAD/Enzyme

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

開放

#962 建立於 2023年1月9日

 (0 則留言) (0 個反應) (0 位負責人)LLVM (184 個分叉)github user discovery
good first issue

倉庫指標

星標
 (1,679 顆星)
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)

貢獻者指南