Skip to main content

ClikaRT::io::LoadPolicy

struct

Header: ClikaRT/io/tensors_container.h

How a policy-taking loader materializes tensors.

Data members

device

StreamOrDevice device = {}

Where materialized tensors live: a device (uploads ride the calling thread's async transfer lane on it; a bare device states placement, never a lane) or a caller stream the uploads ride. Unset ⇒ CPU.

Declared in ClikaRT/io/tensors_container.h, line 42

sticky

bool sticky = false

Keep the lineage on disk: op outputs derived from these tensors are backed by disk-spill storage (at/above the runtime's spill threshold), so they can be evicted and re-faulted like the weights themselves. Opt-in per load.

Declared in ClikaRT/io/tensors_container.h, line 47