DetessCast Class
Fused CVU kernel Node: Detess followed by Cast (BF16→FP32). More...
Declaration
Included Headers
Base classes
| class | Node |
| class | NodeContractProvider |
| class | NodeContractConfigurable |
| class | OutputSpecProvider |
Public Constructors Index
| DetessCast (DetessCastOptions opt={}) | |
|
Construct with optional DetessCastOptions. More... | |
Public Member Functions Index
| std::string | kind () const override |
|
Type label for this Node kind. More... | |
| NodeCapsBehavior | caps_behavior () const override |
|
Whether the Node negotiates static or dynamic caps. More... | |
| NodeContractDefinition | contract_definition () const override |
|
Structural contract definition for this Node. More... | |
| bool | compile_node_contract (const ContractCompileInput &input, CompiledNodeContract *out, std::string *err) const override |
|
Compile this Node's contract from the given input. More... | |
| void | apply_compiled_contract (const CompiledNodeContract &contract, std::string *err) override |
|
Apply a compiled contract back into this Node. More... | |
| std::string | backend_fragment (int node_index) const override |
|
GStreamer fragment this Node emits. More... | |
| std::vector< std::string > | element_names (int node_index) const override |
|
Deterministic element names this Node will create. More... | |
| OutputSpec | output_spec (const OutputSpec &input) const override |
|
Negotiated downstream caps produced by this Node. More... | |
| const nlohmann::json * | config_json () const |
|
Resolved kernel config JSON, or null if no config was supplied/loaded. More... | |
| const DetessCastOptions & | options () const |
|
Inspect the Node's options. More... | |
| const std::string & | config_path () const |
|
Path to the kernel config JSON, if one was loaded from disk. More... | |
Private Member Attributes Index
| DetessCastOptions | opt_ |
| std::shared_ptr< ConfigHolder > | config_holder_ |
| std::string | config_path_ |
Description
Fused CVU kernel Node: Detess followed by Cast (BF16→FP32).
The route planner picks DetessCast after MLA stages whenever the BF16 path needs to surface FP32 tensors in natural layout downstream. Application code rarely adds this directly.
- See Also
"The dtype contract" page in /concepts/dtype_contract
Definition at line 64 of file DetessCast.h.
Public Constructors
DetessCast()
| explicit |
Construct with optional DetessCastOptions.
Definition at line 70 of file DetessCast.h.
Public Member Functions
apply_compiled_contract()
|
Apply a compiled contract back into this Node.
Definition at line 87 of file DetessCast.h.
backend_fragment()
|
GStreamer fragment this Node emits.
Definition at line 89 of file DetessCast.h.
caps_behavior()
| inline |
Whether the Node negotiates static or dynamic caps.
Definition at line 78 of file DetessCast.h.
compile_node_contract()
|
Compile this Node's contract from the given input.
Definition at line 84 of file DetessCast.h.
config_json()
|
Resolved kernel config JSON, or null if no config was supplied/loaded.
Definition at line 96 of file DetessCast.h.
config_path()
| inline |
Path to the kernel config JSON, if one was loaded from disk.
Definition at line 103 of file DetessCast.h.
contract_definition()
|
Structural contract definition for this Node.
Definition at line 82 of file DetessCast.h.
element_names()
|
Deterministic element names this Node will create.
Definition at line 91 of file DetessCast.h.
kind()
| inline |
Type label for this Node kind.
Definition at line 74 of file DetessCast.h.
options()
| inline |
Inspect the Node's options.
Definition at line 99 of file DetessCast.h.
output_spec()
|
Negotiated downstream caps produced by this Node.
Definition at line 93 of file DetessCast.h.
Private Member Attributes
config_holder_
|
Definition at line 113 of file DetessCast.h.
config_path_
|
Definition at line 114 of file DetessCast.h.
opt_
|
Definition at line 112 of file DetessCast.h.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.