pub struct GpuCircuitLayout {
pub num_nodes: u32,
pub num_edges: u32,
pub num_levels: u32,
pub level_offsets: TrackedCudaSlice<u32>,
pub level_nodes: TrackedCudaSlice<u32>,
pub root: u32,
pub max_var: u32,
pub num_nodes_device: Option<TrackedCudaSlice<u32>>,
pub num_edges_device: Option<TrackedCudaSlice<u32>>,
}Expand description
Device layout metadata for XGCF construction.
Fields§
§num_nodes: u32Node-buffer capacity.
num_edges: u32Edge-buffer capacity.
num_levels: u32Number of topological evaluation levels.
level_offsets: TrackedCudaSlice<u32>Device CSR offsets into Self::level_nodes.
level_nodes: TrackedCudaSlice<u32>Device node indices ordered by evaluation level.
root: u32Circuit root node identifier.
max_var: u32Largest DIMACS variable represented by the circuit.
num_nodes_device: Option<TrackedCudaSlice<u32>>Optional device scalar containing the authoritative node count.
num_edges_device: Option<TrackedCudaSlice<u32>>Optional device scalar containing the authoritative edge count.
Auto Trait Implementations§
impl Freeze for GpuCircuitLayout
impl RefUnwindSafe for GpuCircuitLayout
impl Send for GpuCircuitLayout
impl Sync for GpuCircuitLayout
impl Unpin for GpuCircuitLayout
impl UnsafeUnpin for GpuCircuitLayout
impl UnwindSafe for GpuCircuitLayout
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more