Skip to content

Commit 182cc28

Browse files
authored
Merge branch 'dev' into dev
2 parents 1842711 + 68e1cd3 commit 182cc28

File tree

2 files changed

+20
-21
lines changed

2 files changed

+20
-21
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -84,22 +84,22 @@ jobs:
8484
- uses: actions/checkout@v4
8585
- name: Run Simulation
8686
run: /bin/bash $GITHUB_WORKSPACE/short-tests.sh
87-
format-code:
88-
if: github.event_name == 'pull_request'
89-
runs-on: tgrogers-raid
90-
needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070]
91-
steps:
92-
- uses: actions/checkout@v4
93-
with:
94-
ref: ${{github.event.pull_request.head.ref}}
95-
repository: ${{github.event.pull_request.head.repo.full_name}}
96-
ssh-key: ''
87+
#format-code:
88+
# if: github.event_name == 'pull_request'
89+
# runs-on: tgrogers-raid
90+
# needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070]
91+
# steps:
92+
# - uses: actions/checkout@v4
93+
# with:
94+
# ref: ${{github.event.pull_request.head.ref}}
95+
# repository: ${{github.event.pull_request.head.repo.full_name}}
96+
# ssh-key: ''
9797

98-
- name: Run clang-format
99-
run: |
100-
git config user.name "purdue-jenkins"
101-
git config user.email "[email protected]"
102-
git remote set-url origin [email protected]:${{github.event.pull_request.head.repo.full_name}}
103-
git remote -v
104-
/bin/bash ./format-code.sh
105-
if git status --untracked-files=no | grep -q "nothing to commit"; then echo "No changes to commit."; else git commit -a -m "Automated Format"; git push; fi
98+
# - name: Run clang-format
99+
# run: |
100+
# git config user.name "purdue-jenkins"
101+
# git config user.email "[email protected]"
102+
# git remote set-url origin [email protected]:${{github.event.pull_request.head.repo.full_name}}
103+
# git remote -v
104+
# /bin/bash ./format-code.sh
105+
# if git status --untracked-files=no | grep -q "nothing to commit"; then echo "No changes to commit."; else git commit -a -m "Automated Format"; git push; fi

setup_environment

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ CC_VERSION=$(gcc --version | head -1 | awk '{for(i=1;i<=NF;i++){ if(match($i,/^[
4848

4949
CUDA_VERSION_STRING=`$CUDA_INSTALL_PATH/bin/nvcc --version | awk '/release/ {print $5;}' | sed 's/,//'`;
5050
export CUDA_VERSION_NUMBER=`echo $CUDA_VERSION_STRING | sed 's/\./ /' | awk '{printf("%02u%02u", 10*int($1), 10*$2);}'`
51-
if [ $CUDA_VERSION_NUMBER -gt 11100 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then
52-
echo "ERROR ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)";
51+
if [ $CUDA_VERSION_NUMBER -gt 12800 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then
52+
echo "WARNING ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)";
5353
echo $CUDA_VERSION_NUMBER
54-
return 1;
5554
fi
5655

5756
if [ $CUDA_VERSION_NUMBER -ge 6000 ]; then

0 commit comments

Comments
 (0)