Expand description
GPU-native Decision-DNNF knowledge compilation.
This module provides the configuration and kernel-facing utilities needed to compile a device-resident CNF into a device-resident XGCF circuit.
Primary spec: docs/design/2026-01-22-gpu-native-compilation-design.md (Section 5.2.4).
Structs§
- GpuCompile
Config - Configuration for GPU-native Decision-DNNF knowledge compilation plus GPU CDCL verification.
Functions§
- compile_
gpu_ d4_ gated - Compile a device-resident CNF into a device-resident XGCF circuit,
skipping work on the device when
compile_neededis 0. - compute_
free_ var_ mask_ gpu - Compute free-variable mask on device (vars absent from CNF and circuit).
- validate_
cnf_ gpu - Validate
GpuCnfCSR invariants on the GPU (fail-fast trap on invalid input).