Skip to content

Commit

Permalink
Disable AMD tests until KU-IT resurrects our machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Nov 11, 2023
1 parent c4acd2a commit b4a4991
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 85 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,37 +33,37 @@ jobs:
name: futhark-nightly-linux-x86_64.tar.xz
path: result/futhark-nightly-linux-x86_64.tar.xz

benchmark-MI100-opencl:
runs-on: MI100
needs: [build-linux-nix]
# benchmark-MI100-opencl:
# runs-on: MI100
# needs: [build-linux-nix]

env:
TMPDIR: "/scratch"
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- uses: ./.github/actions/benchmark
with:
backend: opencl
system: MI100
# env:
# TMPDIR: "/scratch"
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: recursive
# fetch-depth: 0
# - uses: ./.github/actions/benchmark
# with:
# backend: opencl
# system: MI100

benchmark-MI100-hip:
runs-on: MI100
needs: [build-linux-nix]
# benchmark-MI100-hip:
# runs-on: MI100
# needs: [build-linux-nix]

env:
TMPDIR: "/scratch"
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- uses: ./.github/actions/benchmark
with:
backend: hip
system: MI100
# env:
# TMPDIR: "/scratch"
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: recursive
# fetch-depth: 0
# - uses: ./.github/actions/benchmark
# with:
# backend: hip
# system: MI100

benchmark-A100:
runs-on: hendrix
Expand Down Expand Up @@ -151,8 +151,8 @@ jobs:
runs-on: ubuntu-22.04
needs:
- benchmark-A100
- benchmark-MI100-opencl
- benchmark-MI100-hip
# - benchmark-MI100-opencl
# - benchmark-MI100-hip
# - benchmark-titanx-cuda
# - benchmark-titanx-opencl
- benchmark-titanrtx-cuda
Expand Down
110 changes: 55 additions & 55 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,46 +345,46 @@ jobs:
- run: |
futhark test tests -c --no-terminal --backend=opencl --exclude=compiled --cache-extension=cache --pass-option=--build-option=-O0 --runner=tools/oclgrindrunner.sh
test-opencl:
runs-on: opencl
needs: [build-linux-nix]
if: github.repository == 'diku-dk/futhark'
steps:
- uses: actions/checkout@v3

- uses: ./.github/actions/futhark-slurm
with:
script: |
set -e
virtualenv virtualenv
source virtualenv/bin/activate
pip install jsonschema
module unload cuda
module load cuda/11.8
futhark test tests \
--backend=opencl \
--cache-extension=cache
FUTHARK_BACKEND=opencl make -C tests_lib/c -j
slurm-options: -p gpu --time=0-01:00:00 --gres=gpu:1 --job-name=fut-opencl-test --exclude=hendrixgpu05fl,hendrixgpu06fl
# test-opencl:
# runs-on: opencl
# needs: [build-linux-nix]
# if: github.repository == 'diku-dk/futhark'
# steps:
# - uses: actions/checkout@v3

test-pyopencl:
runs-on: opencl
needs: [build-linux-nix]
if: github.repository == 'diku-dk/futhark'
steps:
- uses: actions/checkout@v3
# - uses: ./.github/actions/futhark-slurm
# with:
# script: |
# set -e
# virtualenv virtualenv
# source virtualenv/bin/activate
# pip install jsonschema
# module unload cuda
# module load cuda/11.8
# futhark test tests \
# --backend=opencl \
# --cache-extension=cache
# FUTHARK_BACKEND=opencl make -C tests_lib/c -j
# slurm-options: -p gpu --time=0-01:00:00 --gres=gpu:1 --job-name=fut-opencl-test --exclude=hendrixgpu05fl,hendrixgpu06fl

# test-pyopencl:
# runs-on: opencl
# needs: [build-linux-nix]
# if: github.repository == 'diku-dk/futhark'
# steps:
# - uses: actions/checkout@v3

- uses: ./.github/actions/futhark-slurm
with:
script: |
set -e
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
# - uses: ./.github/actions/futhark-slurm
# with:
# script: |
# set -e
# 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

test-cuda:
runs-on: cuda
Expand All @@ -409,25 +409,25 @@ jobs:
FUTHARK_BACKEND=cuda make -C tests_lib/c -j
slurm-options: -p gpu --time=0-01:00:00 --gres=gpu:1 --job-name=fut-cuda-test --exclude=hendrixgpu05fl,hendrixgpu06fl

test-hip:
runs-on: MI100
needs: [build-linux-nix]
if: github.repository == 'diku-dk/futhark'
steps:
- uses: actions/checkout@v3
# test-hip:
# runs-on: MI100
# needs: [build-linux-nix]
# if: github.repository == 'diku-dk/futhark'
# steps:
# - uses: actions/checkout@v3

- run: |
virtualenv virtualenv
source virtualenv/bin/activate
pip install jsonschema
# - run: |
# virtualenv virtualenv
# source virtualenv/bin/activate
# pip install jsonschema

- uses: ./.github/actions/futhark-slurm
with:
script: |
set -e
futhark test tests --no-terminal --backend=hip --concurrency=8
source virtualenv/bin/activate
FUTHARK_BACKEND=hip make -C tests_lib/c -j
# - uses: ./.github/actions/futhark-slurm
# with:
# script: |
# set -e
# futhark test tests --no-terminal --backend=hip --concurrency=8
# source virtualenv/bin/activate
# FUTHARK_BACKEND=hip make -C tests_lib/c -j

test-wasm:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit b4a4991

Please sign in to comment.