Last updated: 2026-11-17

Inference Runtime

Launch Sizes

All API Sections

Host-side launch sizes shared by accelerator paths.

Computes bounded shared-memory byte counts before kernel dispatch. Explicit integer widths keep range inference from narrowing intermediate arithmetic.

1 exports 0 methods src/compute/launch_sizes.zig

1 exports shown

function

ssmWarpSharedBytes

#
pub fn ssmWarpSharedBytes(tokens: u32) u32

Must match the bounded gate/beta tile in ssm_delta_net_warp_impl.

Widen @min's range-narrowed result before multiplying: its inferred integer type cannot hold the byte count, even when the destination is a u32.

src/compute/launch_sizes.zig:11