Skip to main content

fidget_jit/
grad_slice.rs

1use crate::{AssemblerData, SimdSize};
2use fidget_core::types::Grad;
3
4/// Assembler for automatic differentiation / gradient evaluation
5pub struct GradSliceAssembler(pub(crate) AssemblerData<Grad>);
6
7// Both x86_64 and AArch64 process 1 gradient per register
8impl SimdSize for Grad {
9    const SIMD_SIZE: usize = 1;
10}