Skip to main content

upload_bandwidth_probe

Function upload_bandwidth_probe 

Source
pub fn upload_bandwidth_probe(block: usize, rounds: usize) -> Option<f64>
Expand description

Measure a transient host-to-device upload when the wgpu backend is compiled in. CPU-only builds keep the benchmark command available and report no device measurement instead of referring to the gated module.