For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo trait
SparseIndexRemap
A second output a sparse-index producer writes beside each logical slot.
Lets the kernel that selects the logical indices also emit what a consumer would otherwise derive from them in a separate pass.
Implemented traits
AnyType,
Copyable,
Deinitable,
DevicePassable,
ImplicitlyCopyable,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime members
enabled
comptime enabled
Whether store writes anything; False lets callers skip the batch lookup it would need.
Required methods
offset
def offset(self, slots: Int) -> Self
Returns this remap with its output advanced by slots slots.
Args:
- slots (
Int): Flat slots to advance by.
Returns:
_Self: The advanced remap.