@@ -13,49 +13,58 @@ jobs:
1313 device-build-test :
1414 name : device-build-test
1515 runs-on : ${{ matrix.setup.runner }}
16- container : ${{ matrix.setup.container }}
16+ container :
17+ image : ${{ matrix.setup.container }}
18+ options : ${{ matrix.setup.container-options || ~ }}
1719 strategy :
1820 fail-fast : false
1921 matrix :
2022 arch :
21- - snb # <-- needed for the self-hosted CI node for now :/
23+ - hsw
2224 build_type :
2325 - Release
2426 - Debug
2527 setup :
26- - arch : sm_60
28+ - arch : sm_86
2729 backend : cuda
2830 cc : gcc-13
2931 cxx : g++-13
3032 fc : gfortran-13
3133 container : seissol/gha-gpu-nv:davschneller-gpu-image
32- runner : ubuntu-24.04
34+ runner : self-hosted
35+ container-options : --runtime=nvidia --gpus=all
3336 pythonbreak : true
34- - arch : sm_60
37+ test : true
38+ - arch : sm_86
3539 backend : acpp
3640 cc : gcc-13
3741 cxx : g++-13
3842 fc : gfortran-13
3943 container : seissol/gha-gpu-nv:davschneller-gpu-image
40- runner : ubuntu-24.04
44+ runner : self-hosted
45+ container-options : --runtime=nvidia --gpus=all
4146 pythonbreak : true
42- - arch : sm_60
47+ test : true
48+ - arch : sm_86
4349 backend : cuda
4450 cc : clang-18
4551 cxx : clang++-18
4652 fc : gfortran-13 # TODO?
4753 container : seissol/gha-gpu-nv:davschneller-gpu-image
48- runner : ubuntu-24.04
54+ runner : self-hosted
55+ container-options : --runtime=nvidia --gpus=all
56+ pythonbreak : true
57+ test : true
58+ - arch : sm_86
59+ backend : cuda
60+ cc : nvc
61+ cxx : nvc++
62+ fc : nvfortran
63+ container : seissol/gha-gpu-nvhpc:davschneller-gpu-image
64+ runner : self-hosted
65+ container-options : --runtime=nvidia --gpus=all
4966 pythonbreak : true
50- # TODO: needs a working GPU runner
51- # - arch: sm_60
52- # backend: cuda
53- # cc: nvc
54- # cxx: nvc++
55- # fc: nvfortran
56- # container: seissol/gha-gpu-nvhpc:davschneller-gpu-image
57- # runner: sccs-ci-nv-sm60
58- # pythonbreak: true
67+ test : true
5968 - arch : gfx906
6069 backend : hip
6170 cc : gcc-13
6473 container : seissol/gha-gpu-amd:davschneller-gpu-image
6574 runner : ubuntu-24.04
6675 pythonbreak : true
76+ test : false
6777 - arch : gfx906
6878 backend : acpp
6979 cc : gcc-13
7282 container : seissol/gha-gpu-amd:davschneller-gpu-image
7383 runner : ubuntu-24.04
7484 pythonbreak : true
85+ test : false
7586 - arch : gfx906
7687 backend : hip
7788 cc : clang-18
@@ -80,14 +91,16 @@ jobs:
8091 container : seissol/gha-gpu-amd:davschneller-gpu-image
8192 runner : ubuntu-24.04
8293 pythonbreak : true
94+ test : false
8395 - arch : skl
8496 backend : oneapi
8597 cc : icx
8698 cxx : icpx
8799 fc : ifx
88100 container : seissol/gha-gpu-intel:davschneller-gpu-image
89- runner : ubuntu-24.04
101+ runner : self-hosted
90102 pythonbreak : false
103+ test : true
91104 steps :
92105 - name : install-gtest
93106 run : |
98111 cd ../..
99112
100113 - name : checkout-device
101- uses : actions/checkout@v4
114+ uses : actions/checkout@v6
102115 with :
103116 submodules : recursive
104117
@@ -121,3 +134,11 @@ jobs:
121134
122135 cmake .. -GNinja -DDEVICE_BACKEND=${{matrix.setup.backend}} -DSM=${{matrix.setup.arch}}
123136 ninja
137+
138+ - id : test
139+ name : test-device
140+ run : |
141+ cd tests
142+ cd build
143+
144+ ./tests
0 commit comments