https://github.com/epiqc/ScaffCC
Revision 4d7bfa034cfaea4e8346396c6198cdd3e271d272 authored by Andrew Litteken on 23 April 2020, 16:55:47 UTC, committed by GitHub on 23 April 2020, 16:55:47 UTC
* llvm 8 update and fixes, conditional measurements, multidimensional arrays, nisq bencmarks

* fixes for ubuntu install

* adding arguments and documentation

* fixing debug environments, and reverse pass

* editing scaffold script and readme for arguments

* LLVM 10 update

* remove llvm tests to reduce size

* Adding to build system

* removing warnings

* updating readme

* Delete .travis.yml

Not correct for build, will rework later
1 parent 0c99b10
Raw File
Tip revision: 4d7bfa034cfaea4e8346396c6198cdd3e271d272 authored by Andrew Litteken on 23 April 2020, 16:55:47 UTC
Version 5 Upgrade! (#40)
Tip revision: 4d7bfa0
regress.sh
#!/bin/bash

DIR=$(dirname $0)
ROOT=$DIR/..
OPT=$ROOT/build/Release+Asserts/bin/opt
SCAF=$ROOT/build/Release+Asserts/lib/Scaffold.so

for f in $*; do
    b=$(basename $f)
    k=$(perl -e '($n,$size,$th,$simd,$k,$d,$x) = split /\./, $ARGV[0]; print $k' ${b})
    d=$(perl -e '($n,$size,$th,$simd,$k,$d,$x) = split /\./, $ARGV[0]; print $d' ${b})
    echo "[regress.sh] $f: Running sched.pl ..."
    if [ ! -e ${b}.ss ]; then
        /usr/bin/time -f "\t%E real,\t%U user,\t%S sys:\t%C" ${DIR}/sched.pl -n ss -k $k -d $d $f -m > ${b}.ss
    fi
    if [ "$k" -eq "1" ]; then
        if [ ! -e ${b}.l0.lpfs ]; then
            /usr/bin/time -f "\t%E real,\t%U user,\t%S sys:\t%C" ${DIR}/sched.pl -n lpfs -k $k -l 0 -d $d $f -m > ${b}.l0.lpfs
        fi
    fi
    for (( l=1; l < k; l++ )); do
        if [ ! -e ${b}.l${l}.lpfs ]; then
            /usr/bin/time -f "\t%E real,\t%U user,\t%S sys:\t%C" ${DIR}/sched.pl -n lpfs -k $k -l $l -d $d $f -m > ${b}.l${l}.lpfs
        fi
        if [ ! -e ${b}.r.l${l}.lpfs ]; then        
          ${DIR}/sched.pl -n lpfs -k $k -l $l -d $d $f -s -refill > ${b}.r.l${l}.lpfs
        fi
        if [ ! -e ${b}.s.l${l}.lpfs ]; then
            /usr/bin/time -f "\t%E real,\t%U user,\t%S sys:\t%C" ${DIR}/sched.pl -n lpfs -k $k -l $l -d $d $f -m -opp > ${b}.s.l${l}.lpfs
        fi
        if [ ! -e ${b}.rs.l${l}.lpfs ]; then
            /usr/bin/time -f "\t%E real,\t%U user,\t%S sys:\t%C" ${DIR}/sched.pl -n lpfs -k $k -l $l -d $d $f -m -opp -refill > ${b}.rs.l${l}.lpfs
        fi
    done
    if [ ! -e ${b}.o1.d1.s1.rcp ]; then
        /usr/bin/time -f "\t%E real,\t%U user,\t%S sys:\t%C" ${DIR}/sched.pl -n rcp -k $k -d $d --op 1 --dist 1 --slack 1 -m $f > ${b}.o1.d1.s1.rcp
    fi
    if [ ! -e ${b}.o10.d1.s1.rcp ]; then
        /usr/bin/time -f "\t%E real,\t%U user,\t%S sys:\t%C" ${DIR}/sched.pl -n rcp -k $k -d $d --op 10 --dist 1 --slack 1 -m $f > ${b}.o10.d1.s1.rcp
    fi
    if [ ! -e ${b}.o1.d10.s1.rcp ]; then
        /usr/bin/time -f "\t%E real,\t%U user,\t%S sys:\t%C" ${DIR}/sched.pl -n rcp -k $k -d $d --op 1 --dist 10 --slack 1 -m $f > ${b}.o1.d10.s1.rcp
    fi
    if [ ! -e ${b}.o1.d1.s10.rcp ]; then
        /usr/bin/time -f "\t%E real,\t%U user,\t%S sys:\t%C" ${DIR}/sched.pl -n rcp -k $k -d $d --op 1 --dist 1 --slack 10 -m $f > ${b}.o1.d1.s10.rcp
    fi
done
back to top