mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
wip
This commit is contained in:
@@ -194,10 +194,10 @@ unsafe impl VecZnxDftCopyImpl<Self> for FFT64Avx {
|
||||
}
|
||||
|
||||
unsafe impl VecZnxDftZeroImpl<Self> for FFT64Avx {
|
||||
fn vec_znx_dft_zero_impl<R>(_module: &Module<Self>, res: &mut R)
|
||||
fn vec_znx_dft_zero_impl<R>(_module: &Module<Self>, res: &mut R, res_col: usize)
|
||||
where
|
||||
R: VecZnxDftToMut<Self>,
|
||||
{
|
||||
vec_znx_dft_zero(res);
|
||||
vec_znx_dft_zero(res, res_col);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@ use crate::FFT64Ref;
|
||||
|
||||
#[test]
|
||||
fn test_convolution_fft64_ref() {
|
||||
let module: Module<FFT64Ref> = Module::<FFT64Ref>::new(64);
|
||||
let module: Module<FFT64Ref> = Module::<FFT64Ref>::new(8);
|
||||
test_convolution(&module);
|
||||
}
|
||||
|
||||
@@ -194,10 +194,10 @@ unsafe impl VecZnxDftCopyImpl<Self> for FFT64Ref {
|
||||
}
|
||||
|
||||
unsafe impl VecZnxDftZeroImpl<Self> for FFT64Ref {
|
||||
fn vec_znx_dft_zero_impl<R>(_module: &Module<Self>, res: &mut R)
|
||||
fn vec_znx_dft_zero_impl<R>(_module: &Module<Self>, res: &mut R, res_col: usize)
|
||||
where
|
||||
R: VecZnxDftToMut<Self>,
|
||||
{
|
||||
vec_znx_dft_zero(res);
|
||||
vec_znx_dft_zero(res, res_col);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ use poulpy_hal::{
|
||||
reference::{
|
||||
fft64::{
|
||||
reim::{ReimCopy, ReimZero, reim_copy_ref, reim_negate_inplace_ref, reim_negate_ref, reim_zero_ref},
|
||||
vec_znx_dft::vec_znx_dft_copy,
|
||||
vec_znx_dft::{vec_znx_dft_copy, vec_znx_dft_zero},
|
||||
},
|
||||
znx::znx_zero_ref,
|
||||
},
|
||||
@@ -426,10 +426,10 @@ impl ReimZero for FFT64Spqlios {
|
||||
}
|
||||
|
||||
unsafe impl VecZnxDftZeroImpl<Self> for FFT64Spqlios {
|
||||
fn vec_znx_dft_zero_impl<R>(_module: &Module<Self>, res: &mut R)
|
||||
fn vec_znx_dft_zero_impl<R>(_module: &Module<Self>, res: &mut R, res_col: usize)
|
||||
where
|
||||
R: VecZnxDftToMut<Self>,
|
||||
{
|
||||
res.to_mut().data.fill(0);
|
||||
vec_znx_dft_zero(res, res_col);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user