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 function
load_view
def load_view[T: LoadAccess](operand: T) -> T(LoadAccess & UnsafeFusedView).FusedViewType(Loadable & TrivialRegisterPassable)
Returns the device view of a mask's graph operand.
The kernel launches with the mask itself as its device form, so the mask holds its operands' device views from the start.
Parameters:
- T (
LoadAccess): The operand type, a fused input.
Args:
- operand (
T): The graph operand.
Returns:
T(LoadAccess & UnsafeFusedView).FusedViewType(Loadable & TrivialRegisterPassable): The operand's device view, which masks read through load.