For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
LoadStrategy
struct LoadStrategy
In-block ordering of fragment loads vs global prefetches.
Fields:
global_before_frag: Emit globals before frags in each block.
See ScheduleConfig.global_before_frag.
lgkm_per_load_a: lgkmcnt entries per channel-A frag-load (for
wait derivation; auto-derived from kernel geometry β
see pipeline.geometry.KernelGeometry).
lgkm_per_load_b: lgkmcnt entries per channel-B frag-load.
Fieldsβ
- βglobal_before_frag (
Bool): Emits global prefetches before fragment loads in each block. SeeScheduleConfig.global_before_frag. - βlgkm_per_load_a (
Int):lgkmcntentries per channel-A frag-load (for wait derivation; auto-derived from kernel geometry β seepipeline.geometry.KernelGeometry). - βlgkm_per_load_b (
Int):lgkmcntentries per channel-B frag-load.
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyDestructible,
Movable
Methodsβ
defaultβ
static default() -> Self
Returns the ping-pong default: frags before globals, manual lgkm.
Returns:
Self: A LoadStrategy matching the framework default.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!