Runtime: the kernel_variants gauge counts what work held at its module's last make

Its doc said the variants past the 64 a module keeps are those work not yet
retired holds. A module evicts the idle ones at its next make, so between a
command buffer's retirement and that make the gauge also counts the ones that
command buffer held. Doc only.
This commit is contained in:
Anees Iqbal committed 2026-11-23 00:53:53 -08:00
1 parent 45a2e23184
commit 4b516662a9
1 file changed
+3 -2
+3 -2
View File
@@ -3023,8 +3023,9 @@ pub struct Gauges {
/// the device's map of kernels holds it.
pub kernels: u64,
/// `VkPipeline`s of compiled kernels' modules, each of one workgroup size, threadgroup memory
/// lengths, imageblock size and tiles: the 8 each module made first, at most 56 more it keeps
/// for later dispatches, and those past them that command buffers not yet retired hold.
/// lengths, imageblock size and tiles: the 8 each module made first, the 56 dispatched last
/// past them, which it keeps for later dispatches, and those past them that command buffers
/// not yet retired held at its last make.
pub kernel_variants: u64,
/// Entries of the device's map of compiled contents, compute and render, which holds at most
/// 1,024 and forgets the least recently used past them.