2020 compiler : [{c: gcc, cxx: g++}]
2121 libbacktrace : ['-DVAL_USE_LIBBACKTRACE_BACKTRACE=OFF']
2222 pool_tracking : ['-DUMF_ENABLE_POOL_TRACKING=ON', '-DUMF_ENABLE_POOL_TRACKING=OFF']
23- latency_tracking : ['-DUMF_ENABLE_LATENCY_TRACKING =OFF']
23+ latency_tracking : ['-DUR_ENABLE_LATENCY_HISTOGRAM =OFF']
2424 include :
2525 - os : ' ubuntu-22.04'
2626 build_type : Release
4040 - os : ' ubuntu-22.04'
4141 build_type : Release
4242 compiler : {c: clang, cxx: clang++}
43- latency_tracking : ' -DUMF_ENABLE_LATENCY_TRACKING =ON'
43+ latency_tracking : ' -DUR_ENABLE_LATENCY_HISTOGRAM =ON'
4444 runs-on : ${{ (matrix.os == 'ubuntu-22.04' && github.repository_owner == 'oneapi-src') && 'intel-ubuntu-22.04' || matrix.os }}
4545
4646 steps :
4949 - name : Install apt packages
5050 run : |
5151 sudo apt-get update
52- sudo apt-get install -y doxygen ${{matrix.compiler.c}}
52+ sudo apt-get install -y ${{matrix.compiler.c}}
5353
5454 - name : Install libhwloc
5555 run : .github/scripts/install_hwloc.sh
6262 run : |
6363 sudo apt-get install -y ${{matrix.compiler.cxx}}
6464
65- - name : Install pip packages
66- run : pip install -r third_party/requirements.txt
67-
6865 - name : Install libbacktrace
6966 if : matrix.libbacktrace == '-DVAL_USE_LIBBACKTRACE_BACKTRACE=ON'
7067 run : |
7976 if : matrix.os == 'ubuntu-22.04'
8077 run : |
8178 sudo apt install libncurses5
82- wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-01-29 /sycl_linux.tar.gz
79+ wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-09-27 /sycl_linux.tar.gz
8380 mkdir -p ${{github.workspace}}/dpcpp_compiler
8481 tar -xvf ${{github.workspace}}/dpcpp_compiler.tar.gz -C ${{github.workspace}}/dpcpp_compiler
8582
9390 -DUR_ENABLE_TRACING=ON
9491 -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
9592 -DUR_BUILD_TESTS=ON
96- -DUR_FORMAT_CPP_STYLE=ON
93+ -DUR_FORMAT_CPP_STYLE=OFF
9794 -DUR_DPCXX=${{github.workspace}}/dpcpp_compiler/bin/clang++
95+ -DUR_CONFORMANCE_TEST_LOADER=OFF
9896 ${{matrix.libbacktrace}}
9997 ${{matrix.pool_tracking}}
10098 ${{matrix.latency_tracking}}
@@ -109,18 +107,11 @@ jobs:
109107 -DUR_ENABLE_TRACING=ON
110108 -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
111109 -DUR_BUILD_TESTS=ON
112- -DUR_FORMAT_CPP_STYLE=ON
110+ -DUR_FORMAT_CPP_STYLE=OFF
113111 ${{matrix.libbacktrace}}
114112 ${{matrix.pool_tracking}}
115113 ${{matrix.latency_tracking}}
116114
117- - name : Generate source from spec, check for uncommitted diff
118- if : matrix.os == 'ubuntu-22.04'
119- run : cmake --build ${{github.workspace}}/build --target check-generated
120-
121- - name : Verify that each source file contains a license
122- run : cmake --build ${{github.workspace}}/build --target verify-licenses
123-
124115 - name : Build
125116 run : cmake --build ${{github.workspace}}/build -j $(nproc)
126117
@@ -155,6 +146,7 @@ jobs:
155146 adapter_name : L0
156147 runner_name : L0
157148 static_loader : ON
149+ static_adapter : ON
158150
159151 opencl :
160152 name : OpenCL
@@ -216,7 +208,8 @@ jobs:
216208 os : ['windows-2019', 'windows-2022']
217209 adapter : [
218210 {name: None, var: ''}, {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON'},
219- {name: None, var: ''}, {name: L0_V2, var: '-DUR_BUILD_ADAPTER_L0_V2=ON'}
211+ {name: None, var: ''}, {name: L0_V2, var: '-DUR_BUILD_ADAPTER_L0_V2=ON'},
212+ {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON -DUR_STATIC_ADAPTER_L0=ON'}
220213 ]
221214
222215 # TODO: building level zero loader on windows-2019 and clang-cl is currently broken
@@ -225,35 +218,30 @@ jobs:
225218 adapter : {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON'}
226219 - os : ' windows-2019'
227220 adapter : {name: L0_V2, var: '-DUR_BUILD_ADAPTER_L0_V2=ON'}
221+ - os : ' windows-2019'
222+ adapter : {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON -DUR_STATIC_ADAPTER_L0=ON'}
228223 - adapter : {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON'}
229224 compiler : {c: clang-cl, cxx: clang-cl}
230225 - adapter : {name: L0_V2, var: '-DUR_BUILD_ADAPTER_L0_V2=ON'}
231226 compiler : {c: clang-cl, cxx: clang-cl}
227+ - adapter : {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON -DUR_STATIC_ADAPTER_L0=ON'}
228+ compiler : {c: clang-cl, cxx: clang-cl}
232229
233230 build_type : [Debug, Release]
234231 compiler : [{c: cl, cxx: cl}, {c: clang-cl, cxx: clang-cl}]
235232 include :
236233 - compiler : {c: clang-cl, cxx: clang-cl}
237234 toolset : " -T ClangCL"
235+ - os : ' windows-2022'
236+ adapter : {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON -DUR_STATIC_ADAPTER_L0=ON'}
237+ build_type : ' Release'
238+ compiler : {c: cl, cxx: cl}
239+
238240 runs-on : ${{matrix.os}}
239241
240242 steps :
241243 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
242244
243- - uses : actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
244- with :
245- python-version : 3.9
246-
247- - name : Install prerequisites
248- run : python3 -m pip install -r third_party/requirements.txt
249-
250- - name : Install doxygen
251- run : |
252- $WorkingDir = $PWD.Path
253- Invoke-WebRequest -Uri https://github.com/doxygen/doxygen/releases/download/Release_1_9_8/doxygen-1.9.8.windows.x64.bin.zip -OutFile "$WorkingDir\doxygen.zip"
254- Expand-Archive -Path "$WorkingDir\doxygen.zip"
255- Add-Content $env:GITHUB_PATH "$WorkingDir\doxygen"
256-
257245 - name : Install hwloc
258246 run : vcpkg install hwloc:x64-windows
259247
@@ -271,14 +259,10 @@ jobs:
271259 -DUR_ENABLE_TRACING=ON
272260 -DUR_DEVELOPER_MODE=ON
273261 -DUR_BUILD_TESTS=ON
274- -DUR_FORMAT_CPP_STYLE=ON
262+ -DUR_FORMAT_CPP_STYLE=OFF
263+ -DUR_CONFORMANCE_TEST_LOADER=OFF
275264 ${{matrix.adapter.var}}
276265
277- # TODO: re-enable when check-generated is fixed for windows runners see #888
278- # - name: Generate source from spec, check for uncommitted diff
279- # if: matrix.os == 'windows-2022'
280- # run: cmake --build ${{github.workspace}}/build --target check-generated --config ${{matrix.build_type}}
281-
282266 - name : Build all
283267 run : cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -j $Env:NUMBER_OF_PROCESSORS
284268
0 commit comments