Skip to content

Commit

Permalink
Update Rust micro benchmark
Browse files Browse the repository at this point in the history
- use ndarray crate for randmatstat and randmatmul by default
- enable direct BLAS use with a cargo feature
- provide rust-toolchain override file
- fix trace calculation in randmatstat
- other code refactors
  • Loading branch information
Enet4 committed Oct 29, 2017
1 parent 00e4231 commit a8ef082
Show file tree
Hide file tree
Showing 6 changed files with 411 additions and 186 deletions.
183 changes: 127 additions & 56 deletions test/perf/micro/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 19 additions & 3 deletions test/perf/micro/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
[package]
name = "julia-bench"
publish = false
description = "Rust implementation of the micro benchmark"
version = "0.1.0"

[dependencies]
blas = { version = "0.15.4", features = ["openblas"] }
itertools = "0.7.1"
mersenne_twister = "1.1.0"
num = "0.1.39"
num = "0.1.37"
rand = "0.3.15"

[dependencies.blas]
features = ["openblas"]
version = "0.18.1"
optional = true

[dependencies.blas-sys]
version = "0.6.9"
features = ["openblas"]

[dependencies.ndarray]
features = ["blas"]
version = "0.10.12"

[features]
default = []
direct_blas = ["blas"]
1 change: 1 addition & 0 deletions test/perf/micro/rust/rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nightly-2017-10-28
Loading

0 comments on commit a8ef082

Please sign in to comment.