Struct
gpu::dispatch::Dim3
cheatah-gpu v0.5.1-alpha — Biome Standard 0.6.3-alpha
Three-dimensional dispatch extents — the (x, y, z) triple every GPU dispatch interface takes, whether it is vkCmdDispatch(x, y, z) or Metal's MTLSize.
Also spells problem sizes and per-axis device limits (maxComputeWorkGroupCount[3]), so one type serves items, local sizes, workgroup counts, and clamps. Unused axes default to 1 — a 1-D dispatch is Dim3{items} — matching how the hardware treats a missing axis (one slice, not zero).
Unit test
Dispatch.Dim3DefaultsCompile-run test
systests/test_dispatch_cr_dim3.purrSystem test
systests/test_dispatch.purrConstants & variables
extent on X — the only axis a 1-D dispatch sizes.
extent on Y; 1 when unused.
extent on Z; 1 when unused.
