EnzymeAD/Enzyme
Track the number of cached/recomputed values using the LLVM statistics macro
开放
#962 创建于 2023年1月9日
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)