Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chonpsk committed Sep 10, 2024
1 parent 7558adc commit d99b65d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arith/benches/ext_field.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use arith::{ExtensionField, Field, GF2_128x8, M31Ext3, M31Ext3x16, GF2_128, GF2_128x8_256};
use arith::{ExtensionField, Field, GF2_128x8, GF2_128x8_256, M31Ext3, M31Ext3x16, GF2_128};
use ark_std::test_rng;
use criterion::{criterion_group, criterion_main, BatchSize, Criterion};
use tynm::type_name;
Expand Down
5 changes: 4 additions & 1 deletion arith/benches/field.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// this module benchmarks the performance of different field operations

use arith::{Field, GF2_128x8, GF2x8, M31Ext3, M31Ext3x16, M31x16, GF2, GF2_128, M31, M31x16_256, GF2_128x8_256};
use arith::{
Field, GF2_128x8, GF2_128x8_256, GF2x8, M31Ext3, M31Ext3x16, M31x16, M31x16_256, GF2, GF2_128,
M31,
};
use ark_std::test_rng;
use criterion::{criterion_group, criterion_main, BatchSize, Criterion};
use halo2curves::bn256::Fr;
Expand Down
6 changes: 3 additions & 3 deletions arith/src/extension_field/gf2_128x8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pub(crate) mod neon;
#[cfg(target_arch = "aarch64")]
pub type GF2_128x8 = neon::NeonGF2_128x8;

#[cfg(target_arch = "x86_64")]
mod avx256;
#[cfg(target_arch = "x86_64")]
mod avx;
#[cfg(target_arch = "x86_64")]
mod avx256;
#[cfg(target_arch = "x86_64")]
pub type GF2_128x8_256 = avx256::AVX256GF2_128x8;
#[cfg(feature = "avx256")]
#[cfg(all(target_arch = "x86_64", feature = "avx256"))]
pub type GF2_128x8 = avx256::AVX256GF2_128x8;
#[cfg(all(target_arch = "x86_64", not(feature = "avx256")))]
pub type GF2_128x8 = avx::AVX512GF2_128x8;

0 comments on commit d99b65d

Please sign in to comment.