Skip to content

Commit

Permalink
Unload CUDA if it is already there.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Oct 22, 2023
1 parent 77ac3b1 commit c44f16b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/benchmark/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ runs:
with:
script: |
hostname
module unload cuda
module load cuda/11.8
futhark bench futhark-benchmarks \
--backend ${{inputs.backend}} \
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ jobs:
virtualenv virtualenv
source virtualenv/bin/activate
pip install jsonschema
module unload cuda
module load cuda/11.8
futhark test tests \
--backend=opencl \
Expand All @@ -380,6 +381,7 @@ jobs:
virtualenv virtualenv
source virtualenv/bin/activate
pip install numpy pyopencl jsonschema
module unload cuda
module load cuda/11.8
futhark test tests --no-terminal --backend=pyopencl
slurm-options: -p gpu --time=0-01:00:00 --gres=gpu:1 --job-name=fut-pyopencl-test --exclude=hendrixgpu05fl,hendrixgpu06fl
Expand All @@ -398,6 +400,7 @@ jobs:
virtualenv virtualenv
source virtualenv/bin/activate
pip install jsonschema
module unload cuda
module load cuda/11.8
futhark test tests \
--backend=cuda \
Expand Down

0 comments on commit c44f16b

Please sign in to comment.