simply-simd 0.2.0

No-boilerplate portable SIMD library for raw registers with runtime feature detection
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::marker::PhantomData;

use crate::{StaticArch, architectures::interface::Arch};

pub mod element;

#[derive(Clone, Copy)]
pub struct Mask<T, A: Arch = StaticArch> {
    pub(crate) data: A::Mask,
    pub(crate) _marker: PhantomData<T>,
}