Skip to content

Commit

Permalink
fix(test): import dtype strategy for non x86
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdd committed Mar 4, 2023
1 parent db437f5 commit 128e6de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions benches/bench_f64_ignore_nan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ use argminmax::ArgMinMax;
use codspeed_criterion_compat::*;
use dev_utils::{config, utils};

use argminmax::{FloatIgnoreNaN, ScalarArgMinMax, SCALAR};
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
use argminmax::{FloatIgnoreNaN, SIMDArgMinMax, AVX2, AVX512, SSE};
use argminmax::{ScalarArgMinMax, SCALAR};
use argminmax::{SIMDArgMinMax, AVX2, AVX512, SSE};

// _in stands for "ignore nan"

Expand Down
4 changes: 2 additions & 2 deletions benches/bench_f64_return_nan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ use argminmax::ArgMinMax;
use codspeed_criterion_compat::*;
use dev_utils::{config, utils};

use argminmax::{FloatReturnNaN, ScalarArgMinMax, SCALAR};
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
use argminmax::{FloatReturnNaN, SIMDArgMinMax, AVX2, AVX512, SSE};
use argminmax::{ScalarArgMinMax, SCALAR};
use argminmax::{SIMDArgMinMax, AVX2, AVX512, SSE};

// _rn stands for "return nan"

Expand Down

0 comments on commit 128e6de

Please sign in to comment.