mirror of https://github.com/xythrez/RustMP.git
Added README, updated Cargo.toml information
This commit is contained in:
parent
1007e78a55
commit
db1fc0d3d3
11
Cargo.toml
11
Cargo.toml
|
@ -1,12 +1,15 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rustmp"
|
name = "rustmp"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Yiyao Yu <yuydevel@protonmail.com>"]
|
authors = ["Alex Bowman <abowman6@u.rochester.edu>",
|
||||||
|
"Raffi Sanna <rsanna@u.rochester.edu>",
|
||||||
|
"Paul Ouellette <pouellet@u.rochester.edu>",
|
||||||
|
"Jack Yu <yyu57@u.rochester.edu>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "*"
|
rand = "0.8.3"
|
||||||
hwloc2 = "*"
|
hwloc2 = "2.2.0"
|
||||||
lazy_static = "*"
|
lazy_static = "1.4.0"
|
||||||
|
|
36
README.md
36
README.md
|
@ -1,5 +1,39 @@
|
||||||
RustMP
|
RustMP
|
||||||
======
|
======
|
||||||
|
|
||||||
Placeholder for RustMP README
|
This repository contains the source code for Alex Bowman, Paul Ouellette, Raffi
|
||||||
|
Sanna, and Jack Yu's research project for CSC200H: an implicit parallelism
|
||||||
|
library written in Rust. For more details, please see the project report.
|
||||||
|
|
||||||
|
## Authors
|
||||||
|
- Alex Bowman (abowman6@u.rochester.edu)
|
||||||
|
- Paul Ouellette (pouellet@u.rochester.edu)
|
||||||
|
- Raffi Sanna (rsanna@u.rochester.edu)
|
||||||
|
- Jack Yu (yyu57@u.rochester.edu)
|
||||||
|
|
||||||
|
## Building/Running
|
||||||
|
|
||||||
|
RustMP requires the following dependencies to run:
|
||||||
|
- `rand-v0.8.3`: Random number generation used for benchmarking examples
|
||||||
|
- `hwloc2-v2.2.0`: C HWLoc wrapper used for NUMA aware process pinning
|
||||||
|
- `lazy_static-v1.4.0`: Lazy static macro used for delayed singleton init
|
||||||
|
|
||||||
|
`src/` contains all code for the RustMP library, including `lib.rs`,
|
||||||
|
`sysinfo.rs`, and `threadpool.rs`. `src/bin` contains benchmarking programs
|
||||||
|
demonstrated in our paper. To run one of the benchmarks with cargo, execute the
|
||||||
|
following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cargo run --release --bin <testname>
|
||||||
|
```
|
||||||
|
|
||||||
|
Additional comparison programs are located in `ext/`, where sequential, OpenMP
|
||||||
|
and Rayon comparison benchmarks can be found.
|
||||||
|
|
||||||
|
## Known issues
|
||||||
|
|
||||||
|
Due to Rust compiler limitations, Rust is only able to support up to 32 layers
|
||||||
|
of nested macros by default. If an alternative test program that exceeds this
|
||||||
|
nested depth for macros is used, please consider increasing this limit in
|
||||||
|
`Cargo.toml`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue