Skip to main content

Module cube_count

Module cube_count 

Source

Modules§

swizzle
The zigzag a swizzled order walks, which is a walk’s own arithmetic and lives with the walk (cubek_tile::space::swizzle). Re-exported here because GlobalOrder’s swizzle arms are its one caller in this crate.

Structs§

Count3d
CubeCountPlan
CubeMapping
Runtime-side counterpart of CubeCountPlan: given the cube position, resolves the conceptual (x, y, z) coordinates in problem space.
CubeMappingLaunch
HypercubeBlueprint
Determines how to launch the hypercube, i.e. anything relevant to CubeCount and where a Cube at a cube position should work

Enums§

CubeCountPlanKind
CubeCountStrategy
Front-facing configuration when crafting a BatchMatmulBlueprint Allows choosing a strategy before knowing actual values
GlobalOrder
Describes the global traversal order as flattened cube position increases.
SmAllocation
Controls how Streaming Multiprocessors (SMs) are assigned cubes.

Functions§

cube_count_spread_with_total
cube_mapping_launch
Build a CubeMappingLaunch from a resolved CubeCountPlan.
swizzle
The zigzag a swizzled order walks, which is a walk’s own arithmetic and lives with the walk (cubek_tile::space::swizzle). Re-exported here because GlobalOrder’s swizzle arms are its one caller in this crate. Maps a linear index to 2D zigzag coordinates (x, y) within strips of num_steps steps of step_length (> 0) elements each.