Commit 7b370b4
authored
Fix sccache summary to count CUDA sub-tool cache hits (#2046)
The rapidsai/sccache fork tracks CUDA compilation sub-phases under
separate language keys in the JSON stats: "CUDA" (nvcc driver),
"CUDA (Device code)" (cudafe++), "PTX" (cicc), and "CUBIN" (ptxas).
The summary script only counted the "CUDA" key, which represents just
the top-level nvcc pass and typically shows 0 cache hits. All the
actual cache hits land in the sub-tool categories. This caused the
step summary to report 0% hit rate even when sccache's own stats
showed ~34%.
Include all CUDA-related language keys so the reported rate matches
sccache's own "Cache hits rate" output.1 parent 8869a26 commit 7b370b4
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
0 commit comments