particular
particular copied to clipboard
Make `gpu::BruteForce` more generic
Currently, using gpu::BruteForce with 2D f32 vectors requires to first convert them to 3D f32 vectors.
Making this compute method more generic could remove the need for this conversion, also possibly improving performance by having a shader specifically for 2d vectors.
We could also make it work for f64 vectors.