File tree Expand file tree Collapse file tree 3 files changed +30
-8
lines changed Expand file tree Collapse file tree 3 files changed +30
-8
lines changed Original file line number Diff line number Diff line change @@ -299,11 +299,19 @@ jobs:
299
299
L0 :
300
300
uses : ./.github/workflows/reusable_gpu.yml
301
301
with :
302
- name : " LEVEL_ZERO"
302
+ provider : " LEVEL_ZERO"
303
+ runner : " L0"
304
+ L0-BMG :
305
+ uses : ./.github/workflows/reusable_gpu.yml
306
+ with :
307
+ provider : " LEVEL_ZERO"
308
+ runner : " L0-BMG"
309
+ os : " ['Ubuntu']"
303
310
CUDA :
304
311
uses : ./.github/workflows/reusable_gpu.yml
305
312
with :
306
- name : " CUDA"
313
+ provider : " CUDA"
314
+ runner : " CUDA"
307
315
308
316
# Full execution of QEMU tests
309
317
QEMU :
Original file line number Diff line number Diff line change @@ -38,13 +38,23 @@ jobs:
38
38
needs : [Build]
39
39
uses : ./.github/workflows/reusable_gpu.yml
40
40
with :
41
- name : " LEVEL_ZERO"
41
+ provider : " LEVEL_ZERO"
42
+ runner : " L0"
42
43
shared_lib : " ['ON']"
44
+ L0-BMG :
45
+ needs : [Build]
46
+ uses : ./.github/workflows/reusable_gpu.yml
47
+ with :
48
+ provider : " LEVEL_ZERO"
49
+ runner : " L0-BMG"
50
+ shared_lib : " ['ON']"
51
+ os : " ['Ubuntu']"
43
52
CUDA :
44
53
needs : [Build]
45
54
uses : ./.github/workflows/reusable_gpu.yml
46
55
with :
47
- name : " CUDA"
56
+ provider : " CUDA"
57
+ runner : " CUDA"
48
58
shared_lib : " ['ON']"
49
59
Sanitizers :
50
60
needs : [FastBuild]
Original file line number Diff line number Diff line change @@ -5,10 +5,14 @@ name: GPU
5
5
on :
6
6
workflow_call :
7
7
inputs :
8
- name :
8
+ provider :
9
9
description : Provider name
10
10
type : string
11
11
required : true
12
+ runner :
13
+ description : Runner name (without 'DSS-' prefix)
14
+ type : string
15
+ required : true
12
16
os :
13
17
description : A list of OSes
14
18
type : string
36
40
env :
37
41
VCPKG_PATH : " ${{github.workspace}}/build/vcpkg/packages/hwloc_x64-windows;${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows;"
38
42
CUDA_PATH : " C:/cuda"
39
- COVERAGE_NAME : " exports-coverage-${{inputs.name }}"
43
+ COVERAGE_NAME : " exports-coverage-${{inputs.provider}}-${{inputs.runner }}"
40
44
# run only on upstream; forks will not have the HW
41
45
if : github.repository == 'oneapi-src/unified-memory-framework'
42
46
strategy :
53
57
compiler : {c: cl, cxx: cl}
54
58
number_of_processors : ' $Env:NUMBER_OF_PROCESSORS'
55
59
56
- runs-on : ["DSS-${{inputs.name }}", "DSS-${{matrix.os}}"]
60
+ runs-on : ["DSS-${{inputs.runner }}", "DSS-${{matrix.os}}"]
57
61
steps :
58
62
- name : Checkout
59
63
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
97
101
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
98
102
-DUMF_BUILD_CUDA_PROVIDER=OFF
99
103
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF
100
- -DUMF_BUILD_${{inputs.name }}_PROVIDER=ON
104
+ -DUMF_BUILD_${{inputs.provider }}_PROVIDER=ON
101
105
-DUMF_TESTS_FAIL_ON_SKIP=ON
102
106
${{ matrix.os == 'Ubuntu' && matrix.build_type == 'Debug' && '-DUMF_USE_COVERAGE=ON' || '' }}
103
107
${{ matrix.os == 'Windows' && '-DCMAKE_SUPPRESS_REGENERATION=ON' || '' }}
You can’t perform that action at this time.
0 commit comments