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 struct
NoRemap
struct NoRemap
Writes nothing: the producer emits logical indices only.
Implemented traits
AnyType,
Copyable,
Deinitable,
DevicePassable,
ImplicitlyCopyable,
Movable,
RegisterPassable,
SparseIndexRemap,
TrivialRegisterPassable
comptime members
device_type
comptime device_type = NoRemap
Device-side type alias; the struct is trivially device-passable.
enabled
comptime enabled = False
Nothing is written.
Methods
__init__
def __init__() -> Self
Creates the empty remap.
offset
def offset(self, slots: Int) -> Self
Returns self; there is no output to advance.
Args:
- slots (
Int): Ignored.
Returns:
Self: self.
store
def store(self, idx: Int, batch: Int, logical: Int32)
Does nothing.
Args:
get_type_name
static def get_type_name() -> String
Returns the type name for runtime diagnostics.
Returns:
String: Always "NoRemap".