Align portable-simd with master

This commit is contained in:
Magnus Ulimoen 2021-09-30 05:15:31 +00:00
parent 42bfdd1ca1
commit 0ec3e16566
2 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,7 @@ serde = { version = "1.0.115", optional = true, default-features = false, featur
num-traits = "0.2.14" num-traits = "0.2.14"
float = { path = "../utils/float" } float = { path = "../utils/float" }
constmatrix = { path = "../utils/constmatrix" } constmatrix = { path = "../utils/constmatrix" }
core_simd = { git = "https://github.com/rust-lang/stdsimd" } core_simd = { git = "https://github.com/rust-lang/portable-simd" }
[features] [features]
# Use f32 as precision, default is f64 # Use f32 as precision, default is f64

View File

@ -393,7 +393,6 @@ pub(crate) fn diff_op_2d_sliceable_y_simd<const M: usize, const N: usize, const
}; };
let idx = 1.0 / dx; let idx = 1.0 / dx;
use core_simd::Vector;
#[cfg(not(feature = "f32"))] #[cfg(not(feature = "f32"))]
type SimdT = core_simd::f64x8; type SimdT = core_simd::f64x8;
#[cfg(feature = "f32")] #[cfg(feature = "f32")]