Skip to content

Commit 2260456

Browse files
authored
Merge pull request #114 from accel-sim/dev
Merge dev into release for new release
2 parents 4c2bf09 + 17f819f commit 2260456

File tree

236 files changed

+14148
-779
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+14148
-779
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ gpu-app-collection/
33
hw_run/
44
sim_run_*
55
*.DS_Store*
6+
*.csv
7+
*.csv#
8+
4.2/
9+
gpucomputingsdk_4.2.9_linux.run
10+
util/job_launching/*.txt

AccelWattch.md

+236
Large diffs are not rendered by default.

Jenkinsfile

+52-10
Original file line numberDiff line numberDiff line change
@@ -17,42 +17,84 @@ pipeline {
1717
stage('accel-sim-build'){
1818
steps{
1919
sh '''#!/bin/bash -xe
20-
source ./env-setup/11.0_env_setup.sh
20+
source ./env-setup/11.2.1_env_setup.sh
2121
rm -rf ./gpu-simulator/gpgpu-sim
2222
source ./gpu-simulator/setup_environment.sh
2323
make -j -C gpu-simulator
2424
make clean -C gpu-simulator
2525
make -j -C gpu-simulator'''
2626
}
2727
}
28-
stage('rodinia_2.0-ft'){
28+
stage('short-test'){
2929
steps{
3030
parallel "sass": {
3131
sh '''#!/bin/bash -xe
32-
source ./env-setup/11.0_env_setup.sh
32+
source ./env-setup/11.2.1_env_setup.sh
3333
source ./gpu-simulator/setup_environment.sh
34-
./util/job_launching/run_simulations.py -B rodinia_2.0-ft -C QV100-SASS -T ~/../common/accel-sim/traces/tesla-v100/latest/rodinia_2.0-ft/9.1/ -N rodinia_2.0-ft-sass-$$
35-
./util/job_launching/monitor_func_test.py -I -v -s rodinia-stats-per-app-sass.csv -N rodinia_2.0-ft-sass-$$'''
34+
./util/job_launching/run_simulations.py -B rodinia_2.0-ft,GPU_Microbenchmark -C QV100-SASS -T ~/../common/accel-sim/traces/volta-tesla-v100/latest/ -N sass-short-${BUILD_NUMBER}
35+
./util/job_launching/run_simulations.py -B rodinia_2.0-ft,GPU_Microbenchmark -C RTX2060-SASS -T ~/../common/accel-sim/traces/turing-rtx2060/latest/ -N sass-short-${BUILD_NUMBER}
36+
./util/job_launching/run_simulations.py -B rodinia_2.0-ft,GPU_Microbenchmark -C RTX3070-SASS -T ~/../common/accel-sim/traces/ampere-rtx3070/latest/ -N sass-short-${BUILD_NUMBER}
37+
./util/job_launching/monitor_func_test.py -I -v -s stats-per-app-sass.csv -N sass-short-${BUILD_NUMBER}'''
3638
}, "ptx": {
3739
sh '''#!/bin/bash -xe
38-
source ./env-setup/11.0_env_setup.sh
40+
source ./env-setup/11.2.1_env_setup.sh
3941
source ./gpu-simulator/setup_environment.sh
4042
4143
rm -rf ./gpu-app-collection
4244
git clone [email protected]:accel-sim/gpu-app-collection.git
4345
source ./gpu-app-collection/src/setup_environment
44-
make rodinia_2.0-ft -j -C ./gpu-app-collection/src
46+
make rodinia_2.0-ft GPU_Microbenchmark -j -C ./gpu-app-collection/src
4547
./gpu-app-collection/get_regression_data.sh
4648
47-
./util/job_launching/run_simulations.py -B rodinia_2.0-ft -C QV100-PTX -N rodinia_2.0-ft-ptx-$$
48-
./util/job_launching/monitor_func_test.py -I -v -s rodinia-stats-per-app-ptx.csv -N rodinia_2.0-ft-ptx-$$'''
49+
./util/job_launching/run_simulations.py -B rodinia_2.0-ft,GPU_Microbenchmark -C QV100-PTX,RTX2060-PTX,RTX3070-PTX -N short-ptx-${BUILD_NUMBER}
50+
./util/job_launching/monitor_func_test.py -I -v -s stats-per-app-ptx.csv -N short-ptx-${BUILD_NUMBER}'''
4951
}
5052
}
5153
}
54+
stage('archive-stats') {
55+
steps{
56+
sh '''#!/bin/bash -xe
57+
source ./env-setup/11.2.1_env_setup.sh
58+
rm -rf ./statistics-archive
59+
git clone [email protected]:accel-sim/statistics-archive.git
60+
# either create a new branch or check it out if it already exists
61+
git -C ./statistics-archive checkout ${JOB_NAME} 2>/dev/null || git -C ./statistics-archive checkout -b ${JOB_NAME}
62+
./util/job_launching/get_stats.py -k -K -R -B GPU_Microbenchmark -C QV100-SASS -A | tee v100-ubench-sass-${BUILD_NUMBER}.csv
63+
./util/job_launching/get_stats.py -k -K -R -B GPU_Microbenchmark -C RTX2060-SASS -A | tee turing-ubench-sass-${BUILD_NUMBER}.csv
64+
./util/job_launching/get_stats.py -k -K -R -B GPU_Microbenchmark -C RTX3070-SASS -A | tee ampere-ubench-sass-${BUILD_NUMBER}.csv
65+
mkdir -p statistics-archive/ubench/
66+
./util/plotting/merge-stats.py -R -c ./statistics-archive/ubench/v100-ubench-sass.csv,v100-ubench-sass-${BUILD_NUMBER}.csv \
67+
| tee v100-ubench-sass.csv && mv v100-ubench-sass.csv ./statistics-archive/ubench/
68+
./util/plotting/merge-stats.py -R -c ./statistics-archive/ubench/turing-ubench-sass.csv,turing-ubench-sass-${BUILD_NUMBER}.csv \
69+
| tee turing-ubench-sass.csv && mv turing-ubench-sass.csv ./statistics-archive/ubench/
70+
./util/plotting/merge-stats.py -R -c ./statistics-archive/ubench/ampere-ubench-sass.csv,ampere-ubench-sass-${BUILD_NUMBER}.csv \
71+
| tee ampere-ubench-sass.csv && mv ampere-ubench-sass.csv ./statistics-archive/ubench/
72+
git -C ./statistics-archive add --all
73+
git -C ./statistics-archive commit \
74+
-m "Jenkins automated checkin ${JOB_NAME} Build:${BUILD_NUMBER}" || echo "No Changes."
75+
git -C ./statistics-archive push -u origin ${JOB_NAME}
76+
'''
77+
}
78+
}
79+
stage('correlate-ubench'){
80+
steps{
81+
sh '''#!/bin/bash -xe
82+
source ./env-setup/11.2.1_env_setup.sh
83+
./util/hw_stats/get_hw_data.sh
84+
rm -rf ./util/plotting/correl-html/
85+
./util/plotting/plot-correlation.py -c ./statistics-archive/ubench/v100-ubench-sass.csv -H ./hw_run/QUADRO-V100/device-0/10.2/ | tee v100-ubench-correl.txt
86+
./util/plotting/plot-correlation.py -c ./statistics-archive/ubench/turing-ubench-sass.csv -H ./hw_run/TURING-RTX2060/10.2/ | tee turing-ubench-correl.txt
87+
./util/plotting/plot-correlation.py -c ./statistics-archive/ubench/ampere-ubench-sass.csv -H ./hw_run/AMPERE-RTX3070/11.2/ | tee ampere-ubench-correl.txt
88+
ssh tgrogers@dynamo mkdir -p /home/dynamo/a/tgrogers/website/accel-sim/latest-correl/${JOB_NAME}/
89+
rsync --delete -r ./util/plotting/correl-html/ tgrogers@dynamo:~/website/accel-sim/latest-correl/${JOB_NAME}/
90+
echo "Correlation Report at: https://engineering.purdue.edu/tgrogers/accel-sim/latest-correl/${JOB_NAME}/"
91+
'''
92+
}
93+
}
5294
}
5395
post {
5496
success {
55-
emailext body: "See ${BUILD_URL}",
97+
emailext body: "See ${BUILD_URL}.\n\nCorrelation at https://engineering.purdue.edu/tgrogers/accel-sim/latest-correl/${JOB_NAME}/",
5698
recipientProviders: [[$class: 'CulpritsRecipientProvider'],
5799
[$class: 'RequesterRecipientProvider']],
58100
subject: "[AALP Jenkins] Build #${BUILD_NUMBER} - Success!",

LICENSE

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
11
BSD 2-Clause License
22

3-
Copyright (c) 2020, Tim Rogers
3+
Copyright (c) 2018-2021, Vijay Kandiah, Junrui Pan, Mahmoud Khairy, Scott Peverelle, Timothy Rogers, Tor M. Aamodt, Nikos Hardavellas
4+
Northwestern University, Purdue University, The University of British Columbia
45
All rights reserved.
56

67
Redistribution and use in source and binary forms, with or without
78
modification, are permitted provided that the following conditions are met:
89

9-
* Redistributions of source code must retain the above copyright notice, this
10-
list of conditions and the following disclaimer.
11-
12-
* Redistributions in binary form must reproduce the above copyright notice,
13-
this list of conditions and the following disclaimer in the documentation
14-
and/or other materials provided with the distribution.
10+
1. Redistributions of source code must retain the above copyright notice, this
11+
list of conditions and the following disclaimer;
12+
2. Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution;
15+
3. Neither the names of Northwestern University, Purdue University,
16+
The University of British Columbia nor the names of their contributors
17+
may be used to endorse or promote products derived from this software
18+
without specific prior written permission.
1519

1620
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1721
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
24+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30+
POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)