#![allow(
// SAFETY: slices are valid; CPU supports AVX2+FMA (x86-64-v3, verified by dispatch).
unsafe_op_in_unsafe_fn,
clippy::missing_safety_doc,
clippy::too_many_arguments
)]
use crate::math::common::InstructionSet;
use crate::math::common::traits::SimdMath;
use core::arch::x86_64::*;
pub struct Avx2Math;
mod activations;
mod bf16;
mod dsp;
mod gemv;
mod reduce;
impl SimdMath for Avx2Math {
type V = __m256;
const ISA: InstructionSet = InstructionSet::Avx2;
gemv::impl_avx2_gemv!();
activations::impl_avx2_activations!();
bf16::impl_avx2_bf16!();
reduce::impl_avx2_reduce!();
dsp::impl_avx2_dsp!();
}