Update to non-avx builds

This commit is contained in:
Pro7ech
2025-11-21 15:39:04 +01:00
parent 0fb88c9bd3
commit 3c818d292b
24 changed files with 356 additions and 128 deletions

View File

@@ -4,10 +4,10 @@ pub mod test_suite;
mod serialization;
#[cfg(test)]
#[cfg(all(feature = "enable-avx", target_arch = "x86_64"))]
mod poulpy_core {
use poulpy_hal::backend_test_suite;
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
backend_test_suite!(
mod cpu_avx,
backend = poulpy_cpu_avx::FFT64Avx,
@@ -69,8 +69,13 @@ mod poulpy_core {
lwe_to_glwe => crate::tests::test_suite::test_lwe_to_glwe,
}
);
}
#[cfg(test)]
#[cfg(not(all(feature = "enable-avx", target_arch = "x86_64")))]
mod poulpy_core {
use poulpy_hal::backend_test_suite;
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
backend_test_suite!(
mod cpu_ref,
backend = poulpy_cpu_ref::FFT64Ref,