-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
731 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,8 @@ name: Long Tests | |
on: | ||
# Triggers the workflow on push or pull request events but only for the mydev branch | ||
push: | ||
pull_request: | ||
# pull_request: | ||
merge_group: | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
@@ -20,7 +21,7 @@ jobs: | |
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Setup Environment | ||
run: | | ||
rm -rf env-setup | ||
|
@@ -81,7 +82,7 @@ jobs: | |
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Setup Environment | ||
run: | | ||
rm -rf env-setup | ||
|
@@ -107,4 +108,66 @@ jobs: | |
./gpu-app-collection/get_regression_data.sh | ||
./util/job_launching/run_simulations.py -B rodinia_2.0-ft,GPU_Microbenchmark -C QV100-PTX,RTX2060-PTX,RTX3070-PTX -N short-ptx-$GITHUB_RUN_NUMBER"_"$GITHUB_RUN_ATTEMPT | ||
./util/job_launching/monitor_func_test.py -v -s stats-per-app-ptx.csv -N short-ptx-$GITHUB_RUN_NUMBER"_"$GITHUB_RUN_ATTEMPT | ||
./util/job_launching/monitor_func_test.py -v -s stats-per-app-ptx.csv -N short-ptx-$GITHUB_RUN_NUMBER"_"$GITHUB_RUN_ATTEMPT | ||
Tracer-Tool: | ||
if: github.repository == 'accel-sim/accel-sim-framework' | ||
runs-on: tgrogers-gpu01 | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Environment | ||
run: | | ||
rm -rf env-setup | ||
git clone [email protected]:purdue-aalp/env-setup.git | ||
cd env-setup | ||
git checkout cluster-ubuntu | ||
- name: Build Accel-Sim | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
rm -rf ./gpu-simulator/gpgpu-sim | ||
source ./gpu-simulator/setup_environment.sh | ||
make clean -C gpu-simulator | ||
make -j -C gpu-simulator | ||
- name: test-prebuilt-traces | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
source ./gpu-simulator/setup_environment.sh | ||
./get-accel-sim-traces.py -a tesla-v100/rodinia_2.0-ft | ||
cd hw_run; tar -xzvf rodinia_2.0-ft.tgz; cd - | ||
./util/job_launching/run_simulations.py -B rodinia_2.0-ft -C QV100-SASS -T ./hw_run/ -N rodinia_2.0-ft-online-$$ | ||
./util/job_launching/monitor_func_test.py -N rodinia_2.0-ft-online-$$ -v | ||
rm -rf hw_run | ||
rm -rf sim_run_11.0 | ||
- name: Build Tracer | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
./util/tracer_nvbit/install_nvbit.sh | ||
make clean -C ./util/tracer_nvbit/ | ||
make -C ./util/tracer_nvbit/ | ||
- name: rodinia_2.0-ft-build | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
rm -rf ./gpu-app-collection/ | ||
git clone [email protected]:accel-sim/gpu-app-collection.git | ||
source ./gpu-app-collection/src/setup_environment | ||
ln -s /home/tgrogers-raid/a/common/data_dirs ./gpu-app-collection/ | ||
make -C ./gpu-app-collection/src rodinia_2.0-ft | ||
- name: generate-rodinia_2.0-ft-traces | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
source ./gpu-app-collection/src/setup_environment | ||
rm -rf ./hw_run/ | ||
./util/tracer_nvbit/run_hw_trace.py -B rodinia_2.0-ft -D 7 | ||
- name: generate-rodinia_2.0-ft-hw_stats | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
source ./gpu-app-collection/src/setup_environment | ||
./util/hw_stats/run_hw.py -B rodinia_2.0-ft -D 7 | ||
- name: test-new-traces | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
source ./gpu-simulator/setup_environment.sh | ||
./util/job_launching/run_simulations.py -B rodinia_2.0-ft -C QV100-SASS -T ./hw_run/traces/device-7/ -N rodinia_2.0-ft-$$ | ||
./util/job_launching/monitor_func_test.py -I -v -s rodinia-stats-per-app.csv -N rodinia_2.0-ft-$$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
name: Weekly Tests | ||
|
||
on: | ||
workflow_dispatch: # manually dispatch | ||
# push: | ||
schedule: | ||
- cron: '0 20 * * FRI' # 8:00 PM every Friday | ||
|
||
jobs: | ||
Last-Commit: | ||
if: github.repository == 'accel-sim/accel-sim-framework' | ||
runs-on: tgrogers-raid | ||
defaults: | ||
run: | ||
shell: bash | ||
outputs: | ||
TRACER_COUNT: ${{ steps.Test-for-commit.outputs.TRACER_COUNT }} | ||
ACCEL_SIM_COUNT: ${{ steps.Test-for-commit.outputs.ACCEL_SIM_COUNT }} | ||
GPGPUSIM_COUNT: ${{ steps.Test-for-commit.outputs.GPGPUSIM_COUNT }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: dev | ||
fetch-depth: 0 | ||
- name: Setup Environment | ||
run: | | ||
rm -rf env-setup | ||
git clone [email protected]:purdue-aalp/env-setup.git | ||
cd env-setup | ||
git checkout cluster-ubuntu | ||
- name: Test For Commit | ||
id: Test-for-commit | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
source ./gpu-simulator/setup_environment.sh | ||
echo "ACCEL_SIM_COUNT=$(git log --oneline --since '1 week ago' | wc -l)" >> $GITHUB_OUTPUT | ||
echo "ACCEL_SIM_COUNT=$(git log --oneline --since '1 week ago' | wc -l)" | ||
echo "TRACER_COUNT=$(git log --oneline --since '1 week ago' util/tracer_nvbit | wc -l)" >> $GITHUB_OUTPUT | ||
echo "TRACER_COUNT=$(git log --oneline --since '1 week ago' util/tracer_nvbit | wc -l)" | ||
cd gpu-simulator/gpgpu-sim | ||
echo "GPGPUSIM_COUNT=$(git log --oneline --since '1 week ago' | wc -l)" >> $GITHUB_OUTPUT | ||
echo "GPGPUSIM_COUNT=$(git log --oneline --since '1 week ago' | wc -l)" | ||
Tracer-Weekly: | ||
needs: Last-Commit | ||
if: | | ||
github.repository == 'accel-sim/accel-sim-framework' && | ||
needs.Last-Commit.outputs.TRACER_COUNT > 0 | ||
runs-on: tgrogers-gpu01 | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: dev | ||
- name: Setup Environment | ||
run: | | ||
rm -rf env-setup | ||
git clone [email protected]:purdue-aalp/env-setup.git | ||
cd env-setup | ||
git checkout cluster-ubuntu | ||
- name: Build Tracer | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
./util/tracer_nvbit/install_nvbit.sh | ||
make clean -C ./util/tracer_nvbit/ | ||
make -C ./util/tracer_nvbit/ | ||
- name: build applications | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
export PATH=/home/tgrogers-raid/a/common/python2:$PATH | ||
rm -rf ./gpu-app-collection/ | ||
git clone [email protected]:accel-sim/gpu-app-collection.git | ||
source ./gpu-app-collection/src/setup_environment | ||
ln -s /home/tgrogers-raid/a/common/data_dirs ./gpu-app-collection/ | ||
make -j8 -C ./gpu-app-collection/src rodinia-3.1 | ||
make -j8 -C ./gpu-app-collection/src GPU_Microbenchmark | ||
# make -j8 -C ./gpu-app-collection/src Deepbench_nvidia | ||
# make -j8 -C ./gpu-app-collection/src parboil | ||
# make -j8 -C ./gpu-app-collection/src polybench | ||
# make -j8 -C ./gpu-app-collection/src cutlass | ||
- name: generate traces | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
source ./gpu-app-collection/src/setup_environment | ||
rm -rf ./hw_run/ | ||
rm -rf /scratch/tgrogers-disk01/a/common/for-sharing/$USER/nightly-traces | ||
mkdir -p /scratch/tgrogers-disk01/a/common/for-sharing/$USER/nightly-traces | ||
ln -s /scratch/tgrogers-disk01/a/common/for-sharing/$USER/nightly-traces ./hw_run | ||
./util/tracer_nvbit/run_hw_trace.py -B rodinia-3.1,GPU_Microbenchmark -D 7 | ||
# ./util/tracer_nvbit/run_hw_trace.py -B rodinia-3.1,GPU_Microbenchmark,parboil,polybench,cutlass_5_trace,Deepbench_nvidia_tencore,Deepbench_nvidia_normal -D 7 | ||
SASS-Weekly: | ||
needs: [Last-Commit, Tracer-Weekly] | ||
if: | | ||
github.repository == 'accel-sim/accel-sim-framework' && | ||
(needs.Last-Commit.outputs.ACCEL_SIM_COUNT > 0 || | ||
needs.Last-Commit.outputs.GPGPUSIM_COUNT > 0) && | ||
needs.Tracer-Weekly.result != 'failure' && | ||
always() | ||
runs-on: tgrogers-raid | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: dev | ||
- name: Setup Environment | ||
run: | | ||
rm -rf env-setup | ||
git clone [email protected]:purdue-aalp/env-setup.git | ||
cd env-setup | ||
git checkout cluster-ubuntu | ||
- name: Build Accel-Sim | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
rm -rf ./gpu-simulator/gpgpu-sim | ||
source ./gpu-simulator/setup_environment.sh | ||
make clean -C gpu-simulator | ||
make -j -C gpu-simulator | ||
- name: run SASS | ||
run: | | ||
source ./env-setup/11.7.0_env_setup.sh | ||
source ./gpu-simulator/setup_environment.sh | ||
ln -s /scratch/tgrogers-disk01/a/common/for-sharing/$USER/nightly-traces ./hw_run | ||
# ./util/job_launching/run_simulations.py -B rodinia-3.1,GPU_Microbenchmark,sdk-4.2-scaled,parboil,polybench,cutlass_5_trace,Deepbench_nvidia_tencore,Deepbench_nvidia_normal -C QV100-SASS-5B_INSN -T ./hw_run/traces/device-7/11.7 -N weekly-$$ -M 70G | ||
./util/job_launching/run_simulations.py -B rodinia-3.1,GPU_Microbenchmark -C QV100-SASS-5B_INSN -T ./hw_run/traces/device-7/11.7 -N weekly-$$ -M 70G | ||
./util/job_launching/monitor_func_test.py -T 12 -S 1800 -I -v -s weekly-stats-per-app.csv -N weekly-$$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.