File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -348,12 +348,18 @@ pub fn reconstruct_surface_inplace<I: Index, R: Real>(
348348 utils:: SimdFeatures :: Avx2Fma => "AVX2 and FMA" ,
349349 utils:: SimdFeatures :: Neon => "NEON" ,
350350 } ;
351- info ! ( "Vectorization enabled with support detected for {simd_str}." ) ;
351+ info ! ( "Vectorization enabled with support detected for {simd_str} instructions ." ) ;
352352 } else {
353353 warn ! (
354354 "Vectorization was enabled, but no SIMD support was detected on this CPU. Falling back to non-vectorized code."
355355 ) ;
356356 }
357+
358+ if std:: any:: TypeId :: of :: < R > ( ) != std:: any:: TypeId :: of :: < f32 > ( ) {
359+ warn ! (
360+ "Vectorization is currently only supported for single-precision (f32) reconstructions. Falling back to non-vectorized code."
361+ ) ;
362+ }
357363 }
358364
359365 // Filter out particles
You can’t perform that action at this time.
0 commit comments