Debian Codegraph @

debian/rust-vendor/vsimd/src/unstable.rs

raw
1 use core::simd::*;
2
3 #[inline(always)]
4 pub fn splat<T, const N: usize>(x: T) -> Simd<T, N>
5 where
6 T: SimdElement,
7 LaneCount<N>: SupportedLaneCount,
8 {
9 Simd::splat(x)
10 }