mpk Namespace
Definition
Classes Index
| struct | SequenceEntry |
|
Single stage within a parsed pipeline sequence entry. More... | |
| struct | SequenceLoadResult |
|
Result wrapper carrying a parsed sequence plus diagnostics. More... | |
| struct | SequenceSplit |
|
Pipeline sequence partitioned into pre / infer / post sections. More... | |
Enumerations Index
| enum class | SequenceLoadSource { ... } |
|
Indicates which source produced a SequenceLoadResult. More... | |
Functions Index
| std::vector< SequenceEntry > | load_pipeline_sequence (const std::string &etc_dir) |
|
Parse pipeline_sequence.json (first pipeline) into ordered entries. More... | |
| SequenceLoadResult | load_pipeline_sequence_with_source (const std::string &etc_dir) |
|
Parse the pipeline sequence and return both the entries and the source diagnostic. More... | |
| SequenceSplit | split_sequence_for_infer (const std::vector< SequenceEntry > &seq) |
|
Split a sequence into pre/infer/post sections for inference execution. More... | |
| bool | is_pre_adapter_kernel (const std::string &kernel) |
|
Returns true iff kernel is a known pre-adapter kernel name. More... | |
| bool | is_post_adapter_kernel (const std::string &kernel) |
|
Returns true iff kernel is a known post-adapter kernel name. More... | |
Functions
is_post_adapter_kernel()
|
Returns true iff kernel is a known post-adapter kernel name.
Definition at line 106 of file PipelineSequence.h.
is_pre_adapter_kernel()
|
Returns true iff kernel is a known pre-adapter kernel name.
Definition at line 104 of file PipelineSequence.h.
load_pipeline_sequence()
|
Parse pipeline_sequence.json (first pipeline) into ordered entries.
- Parameters
-
etc_dir Directory containing the manifest json files.
- Returns
Ordered sequence entries.
Definition at line 80 of file PipelineSequence.h.
load_pipeline_sequence_with_source()
|
Parse the pipeline sequence and return both the entries and the source diagnostic.
- Parameters
-
etc_dir Directory containing the manifest json files.
- Returns
SequenceLoadResult with the parsed sequence and load-source classification.
Definition at line 88 of file PipelineSequence.h.
split_sequence_for_infer()
|
Split a sequence into pre/infer/post sections for inference execution.
Primary behavior: anchor infer on the first..last MLA stage and treat everything before/after as pre/post (regardless of kernel labels). Legacy fallback (when no MLA stage is present): strip known pre/post adapter kernels from the ends and keep the middle as infer.
- Parameters
-
seq Ordered pipeline sequence to split.
- Returns
The partitioned SequenceSplit.
Definition at line 101 of file PipelineSequence.h.
The documentation for this namespace was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.