forked from CFD-GO/TCLB
-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (53 loc) · 1.18 KB
/
storage_test.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Storage
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
model:
- d2q9
precision:
- float
- double
storage:
- 'same'
- 'half'
- 'half-shift'
- "float"
- "float-shift"
- 'double'
gpu:
- true
- false
exclude:
- gpu: false
storage: 'half'
- gpu: false
storage: 'half-shift'
- precision: 'float'
storage: 'double'
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/install
with:
r: true
rdep: true
openmpi: true
rinside: true
cuda: ${{ matrix.gpu }}
- name: Configure
uses: ./.github/actions/configure
with:
gpu: ${{ matrix.gpu }}
cuda_arch: sm_60
paranoid: true
precision: ${{ matrix.precision }}
storage: ${{ matrix.storage }}
- name: Compile
uses: ./.github/actions/compile
with:
model: ${{ matrix.model }}