@@ -10,109 +10,9 @@ permissions:
10
10
contents : read
11
11
12
12
jobs :
13
- source-checks :
14
- name : Source Checks
15
- uses : ./.github/workflows/source-checks.yml
16
-
17
- level-zero :
18
- name : Level Zero
19
- uses : ./.github/workflows/build-hw-reusable.yml
20
- with :
21
- adapter_name : L0
22
- runner_name : L0
23
-
24
- level-zero-v2 :
25
- name : Level Zero V2
26
- uses : ./.github/workflows/build-hw-reusable.yml
27
- with :
28
- adapter_name : L0_V2
29
- runner_name : L0
30
-
31
- level-zero-static :
32
- name : Level Zero static
33
- uses : ./.github/workflows/build-hw-reusable.yml
34
- with :
35
- adapter_name : L0
36
- runner_name : L0
37
- static_loader : ON
38
- static_adapter : ON
39
-
40
- opencl :
41
- name : OpenCL
42
- uses : ./.github/workflows/build-hw-reusable.yml
43
- with :
44
- adapter_name : OPENCL
45
- runner_name : OPENCL
46
- platform : " Intel(R) OpenCL"
47
-
48
13
cuda :
49
14
name : CUDA
50
15
uses : ./.github/workflows/build-hw-reusable.yml
51
16
with :
52
17
adapter_name : CUDA
53
18
runner_name : CUDA
54
-
55
- hip :
56
- name : HIP
57
- uses : ./.github/workflows/build-hw-reusable.yml
58
- with :
59
- adapter_name : HIP
60
- runner_name : HIP
61
-
62
- native-cpu :
63
- name : Native CPU
64
- uses : ./.github/workflows/build-hw-reusable.yml
65
- with :
66
- adapter_name : NATIVE_CPU
67
- runner_name : NATIVE_CPU
68
-
69
- # Native CPU jobs are here to force the loader to be used (UR will not use the loader if there is only one target)
70
- combined-opencl-native-cpu :
71
- name : OpenCL + Native CPU (Loader)
72
- uses : ./.github/workflows/build-hw-reusable.yml
73
- with :
74
- adapter_name : OPENCL
75
- other_adapter_name : NATIVE_CPU
76
- runner_name : OPENCL
77
- platform : " OPENCL:Intel(R) OpenCL"
78
-
79
- combined-level-zero-native-cpu :
80
- name : Level Zero + Native CPU (Loader)
81
- uses : ./.github/workflows/build-hw-reusable.yml
82
- with :
83
- adapter_name : L0
84
- other_adapter_name : NATIVE_CPU
85
- runner_name : L0
86
-
87
- macos-build :
88
- name : macOS / Build
89
- strategy :
90
- matrix :
91
- os : ['macos-13']
92
- runs-on : ${{matrix.os}}
93
-
94
- steps :
95
- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
96
-
97
- - uses : actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
98
- with :
99
- python-version : 3.9
100
-
101
- - name : Install prerequisites
102
- run : python3 -m pip install -r third_party/requirements.txt
103
-
104
- - name : Install hwloc
105
- run : brew install hwloc
106
-
107
- - name : Configure CMake
108
- run : >
109
- cmake
110
- -B${{github.workspace}}/build
111
- -DUR_ENABLE_TRACING=ON
112
- -DUR_DEVELOPER_MODE=ON
113
- -DCMAKE_BUILD_TYPE=Release
114
- -DUR_BUILD_TESTS=ON
115
- -DUR_FORMAT_CPP_STYLE=ON
116
- -DUMF_ENABLE_POOL_TRACKING=ON
117
- - name : Build
118
- run : cmake --build ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu)
0 commit comments