diff --git a/.github/workflows/codspeed.yaml b/.github/workflows/codspeed.yaml index ac28102..04a8273 100644 --- a/.github/workflows/codspeed.yaml +++ b/.github/workflows/codspeed.yaml @@ -36,14 +36,14 @@ jobs: rustup default nightly - name: Install cargo-codspeed (with cache) - uses: baptiste0928/cargo-install@v1 + uses: baptiste0928/cargo-install@v3 with: crate: cargo-codspeed - name: Build the benchmark target(s) run: cargo codspeed build --features half - - uses: CodSpeedHQ/action@v2 + - uses: CodSpeedHQ/action@v3 name: Run benchmarks with: run: cargo codspeed run diff --git a/Cargo.toml b/Cargo.toml index 0dc22df..4aa431a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,16 +31,14 @@ arrow = ["dep:arrow"] arrow2 = ["dep:arrow2"] [dev-dependencies] +half = { version = "2.4", default-features = false, features=["num-traits", "rand_distr"] } rstest = { version = "0.18.2", default-features = false } rstest_reuse = { version = "0.6", default-features = false } rand = { version = "0.8.5", default-features = false } -codspeed-criterion-compat = "2.4" +codspeed-criterion-compat = "2.6" criterion = "0.5.1" dev_utils = { path = "dev_utils" } -[dev-dependencies.half] -features = ["rand_distr"] - [[bench]] name = "bench_f16_return_nan" diff --git a/src/simd/mod.rs b/src/simd/mod.rs index 51b44e9..fbe4f52 100644 --- a/src/simd/mod.rs +++ b/src/simd/mod.rs @@ -39,7 +39,8 @@ mod simd_u8; #[cfg(any( target_arch = "x86", target_arch = "x86_64", - all(target_arch = "aarch64", feature = "float"), // is stable for f64 + target_arch = "aarch64", + all(target_arch = "arm", feature = "float"), // is stable for f64 feature = "nightly_simd" ))] mod test_utils;