TessellateSpec Struct
MLA tessellation (tile-shuffle) parameters. More...
Declaration
Included Headers
Public Member Functions Index
| void | set_slice_shape (std::vector< int > shape) |
|
Replace slice_shape with the given shape. More... | |
| int | slice_height () const |
|
Slice height (first dim of slice_shape), or 0 if not set. More... | |
| int | slice_width () const |
|
Slice width (second dim of slice_shape), or 0 if not set. More... | |
| int | slice_channels () const |
|
Slice channel count (last dim, when shape has rank ≥ 3); 0 otherwise. More... | |
| bool | has_slice_shape () const |
|
True iff slice_shape carries a complete H × W × C triple. More... | |
Public Member Attributes Index
| AutoFlag | enable = AutoFlag::Auto |
|
On/off/auto. More... | |
| std::vector< int > | slice_shape |
|
Tile shape (typically {H, W, C}); empty means "use the contract's geometry". More... | |
Public Static Functions Index
| static int | shape_dim (const std::vector< int > &shape, std::size_t index) |
|
Read element index of shape, returning 0 if out of bounds. More... | |
Description
MLA tessellation (tile-shuffle) parameters.
Definition at line 150 of file PreprocessPlan.h.
Public Member Functions
has_slice_shape()
| inline |
True iff slice_shape carries a complete H × W × C triple.
Definition at line 181 of file PreprocessPlan.h.
set_slice_shape()
| inline |
Replace slice_shape with the given shape.
Definition at line 156 of file PreprocessPlan.h.
slice_channels()
| inline |
Slice channel count (last dim, when shape has rank ≥ 3); 0 otherwise.
Definition at line 176 of file PreprocessPlan.h.
slice_height()
| inline |
Slice height (first dim of slice_shape), or 0 if not set.
Definition at line 166 of file PreprocessPlan.h.
slice_width()
| inline |
Slice width (second dim of slice_shape), or 0 if not set.
Definition at line 171 of file PreprocessPlan.h.
Public Member Attributes
enable
|
slice_shape
|
Tile shape (typically {H, W, C}); empty means "use the contract's geometry".
Definition at line 152 of file PreprocessPlan.h.
Public Static Functions
shape_dim()
| inline static |
Read element index of shape, returning 0 if out of bounds.
Definition at line 161 of file PreprocessPlan.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.