https://github.com/syllo/letitbench
Benchmarks for approximate computing / adaptive techniques
https://github.com/syllo/letitbench
Last synced: 5 months ago
JSON representation
Benchmarks for approximate computing / adaptive techniques
- Host: GitHub
- URL: https://github.com/syllo/letitbench
- Owner: Syllo
- Created: 2018-12-10T09:00:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-04T17:08:04.000Z (over 6 years ago)
- Last Synced: 2025-01-29T08:30:07.911Z (over 1 year ago)
- Language: CMake
- Size: 75.2 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Lenient to Errors, Transformations, Irregularities and Turbulence Benchmarks (LetItBench)
=========================================================================================
LetItBench provides a set of non-optimized and approximation-resilient application which can be targeted by automatic tools to leverage the approximation
opportunities that they offer.
Table of Contents
-----------------
1. [Requirements](#requirements)
1. [Benchmarks](#benchmarks)
1. [Benchmarks Configuration](#benchmarks-configuration)
1. [Run the Benchmarks](#run-the-benchmarks)
Requirements
------------
- A recent version of CMake (>=3.12):
- Most linux distribution provides a CMake package (may be an outdated version).
- Pre-build binaries for multiple systems can be downloaded from the [cmake website](https://cmake.org/download/).
- GNU make
Benchmarks
----------
### Benchmarks configuration
The benchmarks configuration resides in the `LetItBench/benchmarks_configuration` folder.
This folder contains:
- `MasterConfig.cmake`
- Set the variable `COMMON_BATCH_NUM` to configure the number of runs.
- Set the list `COMMON_BENCH_COMPILE_OPTION` to the relevant compilation options.
- Set the list `COMMON_BENCH_LINK_OPTION` to the relevant linker options.
- Set the list `BENCHMARK_SET` to point to a new application configuration file to add a new application.
- `.cmake`
- Set the list `*_COMPILE_OPTIONS` to override the common compilation options.
- Set the list `*_LINK_OPTIONS` to override the common compilation options.
- Uncomment `*_BATCH_NUM` to override the number of batch runs for this application.
- Create new run by creating a list starting with its name and followed by the application parameters.
- Disable / Enable runs by removing / adding a run (application parameters) to the `*_BENCHMARKS` list.
### Run the Benchmarks
Follow the following instructions in a terminal:
```bash
git clone https://github.com/Syllo/LetItBench.git
mkdir -p LetItBench/build && cd LetItBench/build
cmake ..
make bench # To run only one time
make batch-bench # To run the benchmarks multiple times in a row (see BATCH_NUM in Configuration)
make gather-data # To gather the data from all the runs into a single file
```
The results will be available in the directory `LetItBench/benchmarks_result_directory`.