Skip to main content

DEFAULT_GPU_MIN_POINTS_APPROXIMATE

Constant DEFAULT_GPU_MIN_POINTS_APPROXIMATE 

Source
pub const DEFAULT_GPU_MIN_POINTS_APPROXIMATE: usize = 2_000_000;
Expand description

Default minimum point count before GPU approximate-first downsampling is selected.

Approximate-first pays a higher gather/readback cost than centroid. End-to-end benches through 1M still favor CPU (~45 ms vs ~50 ms at 1M); auto-GPU is deferred until a crossover is measured above that range.