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)

贡献者指南