@@ -5,10 +5,14 @@ name: GPU
55on :
66 workflow_call :
77 inputs :
8- name :
8+ provider :
99 description : Provider name
1010 type : string
1111 required : true
12+ runner :
13+ description : Runner name (without 'DSS-' prefix)
14+ type : string
15+ required : true
1216 os :
1317 description : A list of OSes
1418 type : string
3640 env :
3741 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;"
3842 CUDA_PATH : " C:/cuda"
39- COVERAGE_NAME : " exports-coverage-${{inputs.name }}"
43+ COVERAGE_NAME : " exports-coverage-${{inputs.provider }}"
4044 # run only on upstream; forks will not have the HW
41- if : github.repository == 'oneapi-src/unified-memory-framework'
45+ # also, disable Windows for L0-BMG, as such runner is not enabled yet
46+ if : ${{ github.repository == 'oneapi-src/unified-memory-framework' && !(inputs.os == 'Windows' && inputs.runner == 'L0-BMG') }}
4247 strategy :
4348 fail-fast : false
4449 matrix :
5358 compiler : {c: cl, cxx: cl}
5459 number_of_processors : ' $Env:NUMBER_OF_PROCESSORS'
5560
56- runs-on : ["DSS-${{inputs.name }}", "DSS-${{matrix.os}}"]
61+ runs-on : ["DSS-${{inputs.runner }}", "DSS-${{matrix.os}}"]
5762 steps :
5863 - name : Checkout
5964 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
97102 -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
98103 -DUMF_BUILD_CUDA_PROVIDER=OFF
99104 -DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF
100- -DUMF_BUILD_${{inputs.name }}_PROVIDER=ON
105+ -DUMF_BUILD_${{inputs.provider }}_PROVIDER=ON
101106 -DUMF_TESTS_FAIL_ON_SKIP=ON
102107 ${{ matrix.os == 'Ubuntu' && matrix.build_type == 'Debug' && '-DUMF_USE_COVERAGE=ON' || '' }}
103108 ${{ matrix.os == 'Windows' && '-DCMAKE_SUPPRESS_REGENERATION=ON' || '' }}
0 commit comments