Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snektron/pareas-benchmarks
https://github.com/snektron/pareas-benchmarks
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/snektron/pareas-benchmarks
- Owner: Snektron
- Created: 2021-11-11T12:20:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-12T16:58:27.000Z (about 3 years ago)
- Last Synced: 2024-11-18T07:47:16.747Z (2 months ago)
- Language: Python
- Size: 51.7 MB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pareas Benchmark repository
### Building and running
Building and running the benchmarks requires the following requirements:
* A C++20-capable compiler such as clang or gcc.
* The [Meson](https://mesonbuild.com/) build system.
* [Ninja](https://ninja-build.org) or [Samurai](https://github.com/michaelforney/samurai) to build.
* A [Futhark](https://github.com/diku-dk/futhark) compiler. The latest tested version is 20.6.
* Python, which is required for Meson as well as some build tools included in the project. At least version 3.8 is required.Pareas itself and dependencies are automatically downloaded by Meson, and so this requires an active internet connection. Depending on the selected backend, some additional libraries are required.
To run the benchmarks run:
```
$ mkdir build
$ cd build
$ meson .. -Dpareas:futhark-backend=[opencl|cuda|c|multicore] -Dbenchmark-device=
$ ninja bench-pareas
```
`` is a Futhark device selector, either a device name or `#k` for the k-th GPU.### Generating plots
Some tools are included to generate plots:
```
$ scripts/total_throughput_plot.py results// testdata plot.tex
$ scripts/stages_throughput_plot.py results// testdata frontend.tex backend.tex
```