-
Notifications
You must be signed in to change notification settings - Fork 75
32 lines (32 loc) · 1.06 KB
/
ci.yml
File metadata and controls
32 lines (32 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
fail-fast: false
matrix:
exercise:
- 03-H_Multi_GPU_Parallelization/solutions
- 06-H_Overlap_Communication_and_Computation_MPI/solutions
- 08-H_NCCL_NVSHMEM/solutions/NCCL
- 08-H_NCCL_NVSHMEM/solutions/NVSHMEM
- 10-H_CUDA_Graphs_and_Device-initiated_Communication_with_NVSHMEM/solutions/Device-initiated_Communication_with_NVSHMEM
- 10-H_CUDA_Graphs_and_Device-initiated_Communication_with_NVSHMEM/solutions/Using_CUDA_Graphs
runs-on: ubuntu-latest
container:
image: nvidia/cuda:13.2.0-devel-ubuntu24.04
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
apt-get update && apt-get install -y build-essential openmpi-bin libopenmpi-dev
- name: Build first example
working-directory: ${{ matrix.exercise }}
env:
MPI_HOME: /usr/lib/x86_64-linux-gnu/openmpi
run: |
make jacobi