MCPcopy Create free account
hub / github.com/Open-Quant/openquant / fmt

Method fmt

crates/openquant/src/hpc_parallel.rs:100–109  ·  view source on GitHub ↗
(&self, f: &mut Formatter<'_>)

Source from the content-addressed store, hash-verified

98/// unknown), linear partition, `mp_batches = 1` and a snapshot per molecule.
99#[derive(Debug, Clone, Copy, PartialEq, Eq)]
100pub struct HpcParallelConfig {
101 /// Serial or threaded execution.
102 pub mode: ExecutionMode,
103 /// Boundary placement for the molecules.
104 pub partition: PartitionStrategy,
105 /// Oversubscription factor, analogous to mpBatches in AFML.
106 ///
107 /// The job is cut into `workers * mp_batches` molecules (capped at the atom count), so
108 /// values above 1 let a slow molecule delay only its own thread's share. Must be `> 0`.
109 pub mp_batches: usize,
110 /// Emit progress snapshot every N completed molecules.
111 ///
112 /// A snapshot is also recorded when the last molecule completes. Snapshots are stored

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected