Skip to content

Commit 32b5044

Browse files
author
sarah
committed
update gemm
1 parent 7f7a668 commit 32b5044

File tree

4 files changed

+7
-121
lines changed

4 files changed

+7
-121
lines changed

Cargo.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dyn-stack = { version = "0.10.0", default-features = false }
2121
equator = "0.2.2"
2222
faer-entity = { version ="0.18.0", default-features = false, path = "./faer-entity" }
2323

24-
gemm = { version = "0.17.1", default-features = false }
24+
gemm = { version = "0.18.0", default-features = false }
2525
nano-gemm = { version = "0.1.2", default-features = false }
2626
num-complex = { version = "0.4.5", default-features = false }
2727
num-traits = { version = "0.2.18", default-features = false }
@@ -36,7 +36,6 @@ npyz = { version = "0.8", optional = true }
3636
rand = { version = "0.8.5", default-features = false, optional = true }
3737
rand_distr = { version = "0.4.3", default-features = false, optional = true }
3838
libm = "0.2.8"
39-
likely_stable = "0.1.2"
4039

4140
[features]
4241
default = ["std", "rayon", "serde", "rand", "npy"]
@@ -95,10 +94,6 @@ harness = false
9594
name = "meanvar"
9695
harness = false
9796

98-
[[bench]]
99-
name = "sparse_solve"
100-
harness = false
101-
10297
[[bench]]
10398
name = "bench"
10499
harness = false

benches/qr.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ where
5151

5252
fn main() -> std::io::Result<()> {
5353
let mut bench = Bench::new(BenchConfig::from_args()?);
54-
let args = [1, 2, 4, 8, 16, 24, 32, 48, 64, 128].map(PlotArg);
54+
let args = [
55+
1, 2, 4, 8, 16, 24, 32, 48, 64, 128, 256, 512, 1024, 2048, 4096,
56+
]
57+
.map(PlotArg);
5558
bench.register_many(list![faer::<f32>, nalgebra::<f32>], args);
5659
bench.register_many(list![faer::<f64>, nalgebra::<f64>], args);
5760
bench.run()?;

benches/sparse_solve.rs

Lines changed: 0 additions & 112 deletions
This file was deleted.

src/linalg/qr/no_pivoting/compute.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ pub fn recommended_blocksize<E: Entity>(nrows: usize, ncols: usize) -> usize {
169169
} else if prod > 128 * 128 {
170170
32
171171
} else if prod > 32 * 32 {
172-
16
173-
} else if prod > 16 * 16 {
174172
8
173+
} else if prod > 16 * 16 {
174+
4
175175
} else {
176176
1
177177
})

0 commit comments

Comments
 (0)