From 47ff86975bd8062e76c2a78ba8761f5bad437bf4 Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Tue, 11 Feb 2025 16:44:42 -0500 Subject: Update setup_environment Sims should work with latest CUDA --- setup_environment | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_environment b/setup_environment index 2fac1b9..e2f32da 100644 --- a/setup_environment +++ b/setup_environment @@ -48,7 +48,7 @@ CC_VERSION=$(gcc --version | head -1 | awk '{for(i=1;i<=NF;i++){ if(match($i,/^[ CUDA_VERSION_STRING=`$CUDA_INSTALL_PATH/bin/nvcc --version | awk '/release/ {print $5;}' | sed 's/,//'`; export CUDA_VERSION_NUMBER=`echo $CUDA_VERSION_STRING | sed 's/\./ /' | awk '{printf("%02u%02u", 10*int($1), 10*$2);}'` -if [ $CUDA_VERSION_NUMBER -gt 11100 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then +if [ $CUDA_VERSION_NUMBER -gt 12800 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then echo "ERROR ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)"; echo $CUDA_VERSION_NUMBER return 1; -- cgit v1.3 From aa505b8436b248f0438fa5f8ebf68070612f5ff2 Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Tue, 11 Feb 2025 16:49:41 -0500 Subject: Update setup_environment Throwing an error on updating CUDA is a bit much. Let's warn them --- setup_environment | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup_environment b/setup_environment index e2f32da..5974ad0 100644 --- a/setup_environment +++ b/setup_environment @@ -49,9 +49,8 @@ CC_VERSION=$(gcc --version | head -1 | awk '{for(i=1;i<=NF;i++){ if(match($i,/^[ CUDA_VERSION_STRING=`$CUDA_INSTALL_PATH/bin/nvcc --version | awk '/release/ {print $5;}' | sed 's/,//'`; export CUDA_VERSION_NUMBER=`echo $CUDA_VERSION_STRING | sed 's/\./ /' | awk '{printf("%02u%02u", 10*int($1), 10*$2);}'` if [ $CUDA_VERSION_NUMBER -gt 12800 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then - echo "ERROR ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)"; + echo "WARNING ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)"; echo $CUDA_VERSION_NUMBER - return 1; fi if [ $CUDA_VERSION_NUMBER -ge 6000 ]; then -- cgit v1.3 From 68e1cd30efaecbd71b496822f9d88a5803b33841 Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Tue, 11 Feb 2025 16:57:13 -0500 Subject: Update main.yml Turning off the format code for now. Currently, set up to run on an internal cluster. Needs testing on docker. --- .github/workflows/main.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e0ae23..954b98f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -84,22 +84,22 @@ jobs: - uses: actions/checkout@v4 - name: Run Simulation run: /bin/bash $GITHUB_WORKSPACE/short-tests.sh - format-code: - if: github.event_name == 'pull_request' - runs-on: tgrogers-raid - needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070] - steps: - - uses: actions/checkout@v4 - with: - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} - ssh-key: '' + #format-code: + # if: github.event_name == 'pull_request' + # runs-on: tgrogers-raid + # needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070] + # steps: + # - uses: actions/checkout@v4 + # with: + # ref: ${{github.event.pull_request.head.ref}} + # repository: ${{github.event.pull_request.head.repo.full_name}} + # ssh-key: '' - - name: Run clang-format - run: | - git config user.name "purdue-jenkins" - git config user.email "purdue-jenkins@users.noreply.github.com" - git remote set-url origin git@github.com:${{github.event.pull_request.head.repo.full_name}} - git remote -v - /bin/bash ./format-code.sh - 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 + # - name: Run clang-format + # run: | + # git config user.name "purdue-jenkins" + # git config user.email "purdue-jenkins@users.noreply.github.com" + # git remote set-url origin git@github.com:${{github.event.pull_request.head.repo.full_name}} + # git remote -v + # /bin/bash ./format-code.sh + # 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 -- cgit v1.3