dau_core.design¶
Classes¶
Enum where members are also (and must be) strings |
|
A count of identical hardware operator engines and what they accept. |
|
The operator inventory a synthesized DAU design advertises. |
Functions¶
|
|
|
Module Contents¶
- class dau_core.design.UnitKind[source]¶
Bases:
enum.StrEnumEnum where members are also (and must be) strings
Initialize self. See help(type(self)) for accurate signature.
- AGGREGATION = 'aggregation'¶
- JOIN = 'join'¶
- MEMBERSHIP = 'membership'¶
- SORT = 'sort'¶
- class dau_core.design.OperatorUnit[source]¶
A count of identical hardware operator engines and what they accept.
opcodesandinput_typesdescribe aggregation coverage; join and sort units currently carry no opcode/type detail and exist as capacity only.- count: int¶
- opcodes: tuple[dau_core.stream.OperationCode, ...] = ()¶
- input_types: tuple[dau_core.stream.LogicalType, ...] = ()¶
- supports(opcode: dau_core.stream.OperationCode, logical_type: dau_core.stream.LogicalType) bool[source]¶
- class dau_core.design.DauDesign[source]¶
The operator inventory a synthesized DAU design advertises.
- name: str¶
- units: tuple[OperatorUnit, ...] = ()¶
- units_of(kind: UnitKind) tuple[OperatorUnit, ...][source]¶
- aggregation_capacity(opcode: dau_core.stream.OperationCode, logical_type: dau_core.stream.LogicalType) int[source]¶
- dau_core.design.format_units(units: tuple[OperatorUnit, ...]) str[source]¶
- dau_core.design.parse_units(value: str) tuple[OperatorUnit, ...][source]¶