Skip to main content

Module resident_relational

Module resident_relational 

Source
Expand description

Fixed-address relational primitives for CUDA conditional graphs.

Every allocation happens in the prepare_* methods. The record_* methods only enqueue fixed-address memset and kernel nodes on the supplied stream, so they are safe to call while a conditional graph body is being captured.

Structs§

ResidentConvergenceControl
Owns the single canonical terminal receipt used by a resident graph.
ResidentDeviceTrace
Device-owned physical and legacy-semantic resident scan/filter counters.
ResidentJoinWorkspace
Preallocated one-key hash-join workspace.
ResidentPackedReceipt
One fixed-size device receipt: terminal wire record, changed flag, then u32 counts.
ResidentPinnedReceipt
Exact-size page-locked destination for the single final resident receipt.
ResidentRelation
A fixed-capacity relation whose storage remains stable for a graph lifetime.
ResidentSchemaWinners
Device-owned first-nonempty schema selection for staged relation heads.
ResidentSetWorkspace
Preallocated open-addressed full-row set workspace.
ResidentTerminalStatus
Canonical host/device terminal receipt for resident graph execution.

Enums§

ResidentJoinKind
One-key join kinds required by the resident corpus.
ResidentResourceCode
Stable resource identifiers for ResidentTerminalStatus::resource_code.
ResidentTerminalCode
Stable terminal status codes shared by every resident CUDA primitive.

Constants§

RESIDENT_RELATIONAL_MAX_ARITY
Maximum relation width accepted by the resident relational wire ABI.

Functions§

resident_control_device_bytes
Exact manager-tracked bytes for convergence status and counters.
resident_device_trace_bytes
Exact manager-tracked bytes for physical and legacy-semantic invocation counters.
resident_join_workspace_device_bytes
Exact manager-tracked bytes for the shared one-key join workspace.
resident_packed_receipt_device_bytes
Exact manager-tracked bytes for the packed device receipt and pointer table.
resident_packed_receipt_with_schema_winners_device_bytes
Exact device bytes when the receipt also carries one schema winner per head.
resident_relation_device_bytes
Exact manager-tracked bytes for one fixed-capacity resident relation.
resident_schema_winners_device_bytes
Exact manager-tracked bytes for device first-nonempty schema selection.
resident_set_workspace_device_bytes
Exact manager-tracked bytes for the shared full-row set workspace.