Skip to content
API REFERENCEUsage guides →

cellpack::opt::default_distance ​

fn

Module contract · All interfaces

At a glance ​

pub fn default_distance(workers: usize, inflight_per_worker: usize) -> u64

Default execution window in accesses for a worker count and in-flight depth: four times the accesses in flight.

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition