File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 33
44#![ allow( clippy:: unwrap_used) ]
55
6- use std:: arch;
76use std:: hint:: black_box;
87use std:: iter:: Iterator ;
98
109use divan:: Bencher ;
1110use rand:: prelude:: StdRng ;
1211use rand:: { Rng , SeedableRng } ;
13- use vortex_buffer:: { BitBuffer , buffer_mut } ;
12+ use vortex_buffer:: { buffer_mut , BitBuffer } ;
1413use vortex_compute:: bench;
1514use vortex_compute:: filter:: Filter ;
1615
@@ -46,11 +45,13 @@ impl FilterImpl for NeonFilter {
4645 fn filter < ' a , T : Copy > ( bitview : & BitView , slice : & ' a mut [ T ] ) -> & ' a mut [ T ] {
4746 #[ cfg( target_arch = "aarch64" ) ]
4847 {
49- if arch:: is_aarch64_feature_detected!( "neon" ) {
48+ if std :: arch:: is_aarch64_feature_detected!( "neon" ) {
5049 return bench:: bench_filter_neon :: < _ , T > ( bitview, slice) ;
5150 }
5251 }
52+
5353 // Otherwise, do nothing.
54+ let _ = bitview;
5455 slice
5556 }
5657}
You can’t perform that action at this time.
0 commit comments