#[non_exhaustive]pub struct GpuCdclConfig {
pub max_learned_clauses: u32,
pub max_learned_lits: u32,
pub max_proof_u32: u32,
pub restart_base: u32,
pub reduce_interval: u32,
pub max_conflicts: u32,
}Expand description
Configuration for the GPU CDCL (Conflict-Driven Clause Learning) solver.
Controls arena sizes for learned clauses, proof traces, and the deterministic restart/reduce schedule. The defaults are tuned for equivalence verification of circuits with up to ~10 000 variables; larger problems may need proportionally larger arenas.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_learned_clauses: u32Maximum number of learned clauses retained in the arena.
max_learned_lits: u32Maximum total literals across all learned clauses.
max_proof_u32: u32Maximum size (in u32 words) of the resolution proof trace.
restart_base: u32Base conflict count between deterministic restarts.
reduce_interval: u32Conflict count between clause-database reductions.
max_conflicts: u32Conflict budget: 0 = unlimited (default; no behavior change). When
nonzero, the solver bails with status BUDGET_EXHAUSTED after this many
conflicts without terminating, bounding wall-clock so a treewidth-hard
instance returns gracefully instead of running to a CUDA launch timeout
that poisons the primary context.
Trait Implementations§
Source§impl Clone for GpuCdclConfig
impl Clone for GpuCdclConfig
Source§fn clone(&self) -> GpuCdclConfig
fn clone(&self) -> GpuCdclConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more