Expand description
Wall-clock phase counters for the bake profiler (CMF_BAKE_PROF=1 prints them). Written from worker threads, so atomics; nanoseconds.
Statics§
- ATTN_
FWD - BWD
- FFN_FWD
- GEMM
- GEMM_
CALLS - SHAPES
- (n, k, m) → (calls, ns). A handful of shapes dominate a training step; naming them decides which ones are worth a GPU submit and which are cheaper computed in place.
Functions§
- add
- gemm_
shape - shape_
report - take
- Read and reset, in seconds.