12345678910111213141516171819202122232425 |
- # Some useful environment variables
- BENCHMARK_REPO="https://gogs.heisenberg.ovh/andreagus/rodinia-benchmark.git"
- BASE_DIR=`pwd`
- # Check if the build direcroty already exists, otherwise create it
- if [ ! -d "build" ]; then
- mkdir build
- fi
- cd build
- # Create the needed folders
- if [ ! -d "rodinia-benchmark" ]; then
- git clone $BENCHMARK_REPO
- fi
- cd rodinia-benchmark
- git checkout wip/platform-unification
- # Copy the script that time the benchmark in the benchmark directory
- cp $BASE_DIR/time-and-save.sh .
- # Compile the benchmarks
- make clean
- make OPENCL -j8
|