Upgrade dependencies
This commit is contained in:
parent
2a1bb3f815
commit
5acd46af6d
|
@ -11,15 +11,15 @@ expensive_tests = []
|
||||||
serde1 = ["serde", "arrayvec/serde"]
|
serde1 = ["serde", "arrayvec/serde"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ndarray = "0.15.0"
|
ndarray = "0.15.4"
|
||||||
sbp = { path = "../sbp" }
|
sbp = { path = "../sbp" }
|
||||||
arrayvec = "0.6.0"
|
arrayvec = "0.7.2"
|
||||||
serde = { version = "1.0.115", default-features = false, optional = true, features = ["derive"] }
|
serde = { version = "1.0.138", default-features = false, optional = true, features = ["derive"] }
|
||||||
integrate = { path = "../utils/integrate" }
|
integrate = { path = "../utils/integrate" }
|
||||||
once_cell = "1.7.2"
|
once_cell = "1.13.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = "0.3.2"
|
criterion = "0.3.5"
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "bench"
|
name = "bench"
|
||||||
|
|
|
@ -5,10 +5,10 @@ authors = ["Magnus Ulimoen <magnus@ulimoen.dev>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ndarray = { version = "0.15.0", default-features = false }
|
ndarray = { version = "0.15.4", default-features = false }
|
||||||
plotters = { version = "0.3.0", default-features = false, features = ["svg_backend", "line_series", "point_series"] }
|
plotters = { version = "0.3.1", default-features = false, features = ["svg_backend", "line_series", "point_series"] }
|
||||||
sbp = { path = "../sbp" }
|
sbp = { path = "../sbp" }
|
||||||
json5 = { version = "0.2.8", optional = true }
|
json5 = { version = "0.4.1", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
serde = ["sbp/serde1", "dep:json5"]
|
serde = ["sbp/serde1", "dep:json5"]
|
||||||
|
|
|
@ -7,9 +7,9 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sbp = { path = "../sbp", features = ["sparse"] }
|
sbp = { path = "../sbp", features = ["sparse"] }
|
||||||
ndarray = "0.15.0"
|
ndarray = "0.15.4"
|
||||||
plotters = { version = "0.3.0", default-features = false, features = ["bitmap_gif", "bitmap_backend", "line_series"] }
|
plotters = { version = "0.3.1", default-features = false, features = ["bitmap_gif", "bitmap_backend", "line_series"] }
|
||||||
sprs = { version = "0.10.0", default-features = false }
|
sprs = { version = "0.11.0", default-features = false }
|
||||||
integrate = { path = "../utils/integrate" }
|
integrate = { path = "../utils/integrate" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -8,13 +8,13 @@ edition = "2021"
|
||||||
sparse = ["sbp/sparse", "dep:sprs"]
|
sparse = ["sbp/sparse", "dep:sprs"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ndarray = "0.15.0"
|
ndarray = "0.15.4"
|
||||||
sbp = { path = "../sbp" }
|
sbp = { path = "../sbp" }
|
||||||
sprs = { version = "0.10.0", optional = true, default-features = false }
|
sprs = { version = "0.11.0", optional = true, default-features = false }
|
||||||
integrate = { path = "../utils/integrate" }
|
integrate = { path = "../utils/integrate" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = "0.3.2"
|
criterion = "0.3.5"
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "bench"
|
name = "bench"
|
||||||
|
|
|
@ -10,16 +10,16 @@ sbp = { path = "../sbp", features = ["serde1"] }
|
||||||
euler = { path = "../euler", features = ["serde1"] }
|
euler = { path = "../euler", features = ["serde1"] }
|
||||||
hdf5 = "0.8.1"
|
hdf5 = "0.8.1"
|
||||||
integrate = { path = "../utils/integrate" }
|
integrate = { path = "../utils/integrate" }
|
||||||
rayon = "1.3.0"
|
rayon = "1.5.3"
|
||||||
indicatif = "0.17.0-rc.11"
|
indicatif = "0.17.0-rc.11"
|
||||||
ndarray = { version = "0.15.0", features = ["serde"] }
|
ndarray = { version = "0.15.4", features = ["serde"] }
|
||||||
serde = { version = "1.0.115", features = ["derive"] }
|
serde = { version = "1.0.138", features = ["derive"] }
|
||||||
json5 = "0.3.0"
|
json5 = "0.4.1"
|
||||||
indexmap = { version = "1.5.2", features = ["serde-1"] }
|
indexmap = { version = "1.9.1", features = ["serde-1"] }
|
||||||
argh = "0.1.4"
|
argh = "0.1.8"
|
||||||
evalexpr = "6.3.0"
|
evalexpr = "7.2.0"
|
||||||
crossbeam-channel = "0.5.0"
|
crossbeam-channel = "0.5.5"
|
||||||
crossbeam-utils = "0.8.5"
|
crossbeam-utils = "0.8.10"
|
||||||
parking_lot = "0.11.1"
|
parking_lot = "0.12.1"
|
||||||
lock_api = "0.4.4"
|
lock_api = "0.4.7"
|
||||||
arrayvec = "0.7.1"
|
arrayvec = "0.7.2"
|
||||||
|
|
|
@ -5,15 +5,13 @@ authors = ["Magnus Ulimoen <magnus@ulimoen.dev>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ndarray = { version = "0.15.0", features = ["approx"] }
|
ndarray = { version = "0.15.4", features = ["approx"] }
|
||||||
approx = "0.4.0"
|
approx = "0.5.1"
|
||||||
sprs = { version = "0.10.0", optional = true, default-features = false }
|
sprs = { version = "0.11.0", optional = true, default-features = false }
|
||||||
serde = { version = "1.0.115", optional = true, default-features = false, features = ["derive"] }
|
serde = { version = "1.0.138", optional = true, default-features = false, features = ["derive"] }
|
||||||
num-traits = "0.2.14"
|
num-traits = "0.2.15"
|
||||||
float = { path = "../utils/float" }
|
float = { path = "../utils/float" }
|
||||||
constmatrix = { path = "../utils/constmatrix" }
|
constmatrix = { path = "../utils/constmatrix" }
|
||||||
core_simd = { git = "https://github.com/rust-lang/portable-simd" }
|
|
||||||
std_float = { git = "https://github.com/rust-lang/portable-simd" }
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# Use f32 as precision, default is f64
|
# Use f32 as precision, default is f64
|
||||||
|
|
|
@ -2,7 +2,7 @@ use super::*;
|
||||||
use ndarray::s;
|
use ndarray::s;
|
||||||
use num_traits::Zero;
|
use num_traits::Zero;
|
||||||
use std::convert::TryInto;
|
use std::convert::TryInto;
|
||||||
use std_float::StdFloat;
|
use std::simd::StdFloat;
|
||||||
|
|
||||||
pub(crate) use constmatrix::{ColVector, Matrix, RowVector};
|
pub(crate) use constmatrix::{ColVector, Matrix, RowVector};
|
||||||
|
|
||||||
|
@ -395,9 +395,9 @@ 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;
|
||||||
|
|
||||||
#[cfg(not(feature = "f32"))]
|
#[cfg(not(feature = "f32"))]
|
||||||
type SimdT = core_simd::f64x8;
|
type SimdT = std::simd::f64x8;
|
||||||
#[cfg(feature = "f32")]
|
#[cfg(feature = "f32")]
|
||||||
type SimdT = core_simd::f32x16;
|
type SimdT = std::simd::f32x16;
|
||||||
|
|
||||||
// How many elements that can be simdified
|
// How many elements that can be simdified
|
||||||
let simdified = SimdT::LANES * (ny / SimdT::LANES);
|
let simdified = SimdT::LANES * (ny / SimdT::LANES);
|
||||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Magnus Ulimoen <magnus@ulimoen.dev>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ndarray = "0.15.0"
|
ndarray = "0.15.4"
|
||||||
sbp = { path = "../sbp" }
|
sbp = { path = "../sbp" }
|
||||||
log = "0.4.8"
|
log = "0.4.17"
|
||||||
integrate = { path = "../utils/integrate" }
|
integrate = { path = "../utils/integrate" }
|
||||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Magnus Ulimoen <magnus@ulimoen.dev>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
approx = { version = "0.4.0", optional = true }
|
approx = { version = "0.5.1", optional = true }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
float = { path = "../float" }
|
float = { path = "../float" }
|
||||||
num-traits = "0.2.14"
|
num-traits = "0.2.15"
|
||||||
|
|
|
@ -6,4 +6,4 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
float = { path = "../float" }
|
float = { path = "../float" }
|
||||||
num-traits = "0.2.14"
|
num-traits = "0.2.15"
|
||||||
|
|
|
@ -8,13 +8,13 @@ edition = "2021"
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasm-bindgen = "0.2.63"
|
wasm-bindgen = "0.2.81"
|
||||||
console_error_panic_hook = "0.1.6"
|
console_error_panic_hook = "0.1.7"
|
||||||
wee_alloc = "0.4.5"
|
wee_alloc = "0.4.5"
|
||||||
sbp = { path = "../sbp", features = ["f32"] }
|
sbp = { path = "../sbp", features = ["f32"] }
|
||||||
ndarray = "0.15.0"
|
ndarray = "0.15.4"
|
||||||
euler = { path = "../euler" }
|
euler = { path = "../euler" }
|
||||||
maxwell = { path = "../maxwell" }
|
maxwell = { path = "../maxwell" }
|
||||||
shallow-water = { path = "../shallow_water" }
|
shallow-water = { path = "../shallow_water" }
|
||||||
console_log = "0.2.0"
|
console_log = "0.2.0"
|
||||||
log = "0.4.8"
|
log = "0.4.17"
|
||||||
|
|
Loading…
Reference in New Issue