mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 05:06:44 +01:00
Update to non-avx builds
This commit is contained in:
@@ -5,7 +5,7 @@ use poulpy_cpu_avx::FFT64Avx;
|
||||
use crate::bin_fhe::{bdd_arithmetic::tests::test_suite, blind_rotation::CGGI};
|
||||
|
||||
static TEST_CONTEXT_CGGI_FFT64_REF: LazyLock<test_suite::TestContext<CGGI, FFT64Avx>> =
|
||||
LazyLock::new(|| test_suite::TestContext::<CGGI, FFT64Avx>::new());
|
||||
LazyLock::new(test_suite::TestContext::<CGGI, FFT64Avx>::new);
|
||||
|
||||
#[test]
|
||||
fn glwe_blind_retriever() {
|
||||
|
||||
@@ -5,7 +5,7 @@ use poulpy_cpu_ref::FFT64Ref;
|
||||
use crate::bin_fhe::{bdd_arithmetic::tests::test_suite, blind_rotation::CGGI};
|
||||
|
||||
static TEST_CONTEXT_CGGI_FFT64_REF: LazyLock<test_suite::TestContext<CGGI, FFT64Ref>> =
|
||||
LazyLock::new(|| test_suite::TestContext::<CGGI, FFT64Ref>::new());
|
||||
LazyLock::new(test_suite::TestContext::<CGGI, FFT64Ref>::new);
|
||||
|
||||
#[test]
|
||||
fn glwe_blind_retriever() {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
pub mod test_suite;
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
|
||||
#[cfg(not(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma")))]
|
||||
mod fft64_ref;
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
|
||||
#[cfg(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma"))]
|
||||
mod fft64_avx;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#[cfg(test)]
|
||||
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
|
||||
#[cfg(not(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma")))]
|
||||
mod fft64_ref;
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
|
||||
#[cfg(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma"))]
|
||||
mod fft64_avx;
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
pub mod circuit_bootstrapping;
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
|
||||
#[cfg(not(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma")))]
|
||||
mod fft64_ref;
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
|
||||
#[cfg(all(feature = "enable-avx", target_arch = "x86_64", target_feature = "avx2", target_feature = "fma"))]
|
||||
mod fft64_avx;
|
||||
|
||||
Reference in New Issue
Block a user