dau_core.capabilities

Attributes

DPV1_PLATFORM_ID

XILINX_VENDOR_ID

DPV1_DEVICE_ID

DPV1_PCI_ID

Classes

DmaConstraints

OperatorCapability

DeviceCapabilities

What a probed device advertises.

Module Contents

dau_core.capabilities.DPV1_PLATFORM_ID = 'DPV1'
dau_core.capabilities.XILINX_VENDOR_ID = 4334
dau_core.capabilities.DPV1_DEVICE_ID = 28689
dau_core.capabilities.DPV1_PCI_ID = '10ee:7011'
class dau_core.capabilities.DmaConstraints[source]
alignment_bytes: int
descriptor_bytes: int
max_transfer_bytes: int
read_channels: int
write_channels: int
__post_init__() → None[source]
is_aligned(value: int) → bool[source]
property max_aligned_transfer_bytes: int
class dau_core.capabilities.OperatorCapability[source]
opcode: dau_core.stream.OperationCode
input_types: tuple[dau_core.stream.LogicalType, ...]
output_type: dau_core.stream.LogicalType
supports_group_by: bool
supports(opcode: dau_core.stream.OperationCode, logical_type: dau_core.stream.LogicalType) → bool[source]
class dau_core.capabilities.DeviceCapabilities[source]

What a probed device advertises.

operators are hardware capabilities — opcodes some tile executes in HDL. host_operators are protocol-level capabilities the host derives from hardware results (AVERAGE = host divide of SUM/COUNT); they must never be submitted to the device as operations.

platform_id: str
pci_vendor_id: int
pci_device_id: int
register_map_version: dau_core.registers.RegisterMapVersion
stream_protocol_version: dau_core.registers.StreamProtocolVersion
dma: DmaConstraints
operators: tuple[OperatorCapability, ...]
host_operators: tuple[OperatorCapability, ...] = ()
supports(opcode: dau_core.stream.OperationCode, logical_type: dau_core.stream.LogicalType) → bool[source]
supports_host_computed(opcode: dau_core.stream.OperationCode, logical_type: dau_core.stream.LogicalType) → bool[source]