diff options
Diffstat (limited to 'travis.sh')
| -rwxr-xr-x | travis.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/travis.sh b/travis.sh new file mode 100755 index 0000000..247a516 --- /dev/null +++ b/travis.sh @@ -0,0 +1,24 @@ +if [ ! -n "$CUDA_INSTALL_PATH" ]; then + echo "ERROR ** Install CUDA Toolkit and set CUDA_INSTALL_PATH."; + exit; +fi + +if [ ! -n "$CONFIG" ]; then + echo "ERROR ** set the CONFIG env variable to one of those found in ./accel-sim-framework/util/job_launching/configs/define-standard-cfgs.yml"; + exit; +fi + +export PATH=$CUDA_INSTALL_PATH/bin:$PATH +source ./setup_environment +make -j + +rm -rf gpu-app-collection +git clone https://github.com/accel-sim/gpu-app-collection.git +source gpu-app-collection/src/setup_environment +make -j -C gpu-app-collection/src rodinia_2.0-ft +./gpu-app-collection/get_regression_data.sh + +rm -rf accel-sim-framework +git clone https://github.com/accel-sim/accel-sim-framework.git +./accel-sim-framework/util/job_launching/run_simulations.py -C $CONFIG -B rodinia_2.0-ft -N regress +./accel-sim-framework/util/job_launching/monitor_func_test.py -v -N regress |
