|
9 | 9 | { |
10 | 10 | "name": "base", |
11 | 11 | "hidden": true, |
12 | | - "description": "OCCA configure base", |
| 12 | + "displayName": "Configure base", |
13 | 13 | "generator": "Unix Makefiles", |
14 | 14 | "binaryDir": "$env{OCCA_BUILD_DIR}", |
15 | 15 | "installDir": "$env{OCCA_INSTALL_DIR}", |
|
30 | 30 | "OCCA_ENABLE_FORTRAN": "$env{OCCA_ENABLE_FORTRAN}", |
31 | 31 | "OCCA_ENABLE_TESTS": "$env{OCCA_ENABLE_TESTS}", |
32 | 32 | "OCCA_ENABLE_EXAMPLES": "$env{OCCA_ENABLE_EXAMPLES}", |
33 | | - "OCCA_ENABLE_CLANG_TRANSPILER": "$env{OCCA_ENABLE_CLANG_TRANSPILER}" |
| 33 | + "OCCA_ENABLE_CLANG_TRANSPILER": "$env{OCCA_ENABLE_CLANG_TRANSPILER}", |
| 34 | + "OCCA_DPCPP_COMPILER": "$env{OCCA_DPCPP_COMPILER}", |
| 35 | + "OCCA_DPCPP_COMPILER_FLAGS": "$env{OCCA_DPCPP_COMPILER_FLAGS}", |
| 36 | + "SYCL_FLAGS": "$env{OCCA_DPCPP_COMPILER_FLAGS}" |
34 | 37 | }, |
35 | 38 | "environment": { |
36 | 39 | "OCCA_BUILD_DIR": "${sourceDir}/build", |
|
49 | 52 | }, |
50 | 53 | { |
51 | 54 | "name": "system-default", |
52 | | - "description": "OCCA configure with system default compilers", |
| 55 | + "displayName": "Configure with system default compilers", |
53 | 56 | "inherits": "base", |
54 | 57 | "environment": { |
55 | 58 | "CC": "$penv{CC}", |
|
62 | 65 | }, |
63 | 66 | { |
64 | 67 | "name": "gnu-default", |
65 | | - "description": "OCCA configure with GNU compilers", |
| 68 | + "displayName": "Configure with GNU compilers", |
66 | 69 | "inherits": "base", |
67 | 70 | "environment": { |
68 | 71 | "CC": "gcc", |
|
73 | 76 | }, |
74 | 77 | { |
75 | 78 | "name": "clang-default", |
76 | | - "description": "OCCA configure with LLVM/Clang compilers", |
| 79 | + "displayName": "Configure with LLVM/Clang compilers", |
77 | 80 | "inherits": "base", |
78 | 81 | "environment": { |
79 | 82 | "CC": "clang", |
|
82 | 85 | "OCCA_ENABLE_FORTRAN": "OFF" |
83 | 86 | } |
84 | 87 | }, |
| 88 | + { |
| 89 | + "name" : "clang-sycl-nvidia", |
| 90 | + "displayName": "Configure with SYCL using LLVM/Clang compilers on Nvidia hardware", |
| 91 | + "inherits": "clang-default", |
| 92 | + "environment": { |
| 93 | + "OCCA_ENABLE_DPCPP": "ON", |
| 94 | + "OCCA_DPCPP_COMPILER": "clang++", |
| 95 | + "OCCA_DPCPP_COMPILER_FLAGS": "-fsycl -fsycl-targets=nvptx64-nvidia-cuda" |
| 96 | + } |
| 97 | + }, |
85 | 98 | { |
86 | 99 | "name": "oneapi-default", |
87 | | - "description": "OCCA configure with oneAPI compilers", |
| 100 | + "displayName": "Configure with oneAPI compilers", |
88 | 101 | "inherits": "base", |
89 | 102 | "environment": { |
90 | 103 | "CC": "icx", |
|
98 | 111 | "buildPresets": [ |
99 | 112 | { |
100 | 113 | "name": "system-default", |
101 | | - "description": "OCCA build with system default compilers", |
| 114 | + "displayName": "Build with system default compilers", |
102 | 115 | "configurePreset": "system-default", |
103 | 116 | "targets": ["install"], |
104 | | - "jobs": 8 |
| 117 | + "jobs": 16 |
105 | 118 | }, |
106 | 119 | { |
107 | 120 | "name": "gnu-default", |
108 | | - "description": "OCCA build with GNU compilers", |
| 121 | + "displayName": "Build with GNU compilers", |
109 | 122 | "inherits": "system-default", |
110 | 123 | "configurePreset": "gnu-default" |
111 | 124 | }, |
112 | 125 | { |
113 | 126 | "name": "clang-default", |
114 | | - "description": "OCCA build with LLVM/Clang compilers", |
| 127 | + "displayName": "Build with LLVM/Clang compilers", |
115 | 128 | "inherits": "system-default", |
116 | 129 | "configurePreset": "clang-default" |
117 | 130 | }, |
| 131 | + { |
| 132 | + "name": "clang-sycl-nvidia", |
| 133 | + "displayName": "Build with SYCL using LLVM/Clang compilers on Nvidia hardware", |
| 134 | + "inherits": "clang-default", |
| 135 | + "configurePreset": "clang-sycl-nvidia" |
| 136 | + }, |
118 | 137 | { |
119 | 138 | "name": "oneapi-default", |
120 | | - "description": "OCCA build with oneAPI compilers", |
| 139 | + "displayName": "Build with oneAPI compilers", |
121 | 140 | "inherits": "system-default", |
122 | 141 | "configurePreset": "oneapi-default" |
123 | 142 | } |
|
145 | 164 | "inherits": "system-default", |
146 | 165 | "configurePreset": "clang-default" |
147 | 166 | }, |
| 167 | + { |
| 168 | + "name": "clang-sycl-nvidia", |
| 169 | + "displayName": "Run tests with SYCL using LLVM/Clang compilers on Nvidia hardware", |
| 170 | + "inherits": "clang-default", |
| 171 | + "configurePreset": "clang-sycl-nvidia" |
| 172 | + }, |
148 | 173 | { |
149 | 174 | "name": "gnu-default", |
150 | 175 | "displayName": "Run tests with GNU compilers", |
|
166 | 191 | "workflowPresets": [ |
167 | 192 | { |
168 | 193 | "name": "system-default", |
169 | | - "displayName": "Configure, build and install with system default compilers", |
| 194 | + "displayName": "Configure, build, install and test with system default compilers", |
170 | 195 | "steps": [ |
171 | 196 | { |
172 | 197 | "type": "configure", |
|
184 | 209 | }, |
185 | 210 | { |
186 | 211 | "name": "gnu-default", |
187 | | - "displayName": "Configure, build and install with GNU compilers", |
| 212 | + "displayName": "Configure, build, install and test with GNU compilers", |
188 | 213 | "steps": [ |
189 | 214 | { |
190 | 215 | "type": "configure", |
|
202 | 227 | }, |
203 | 228 | { |
204 | 229 | "name": "clang-default", |
205 | | - "displayName": "Configure, build and install with LLVM/Clang compilers", |
| 230 | + "displayName": "Configure, build, install and test with LLVM/Clang compilers", |
206 | 231 | "steps": [ |
207 | 232 | { |
208 | 233 | "type": "configure", |
|
218 | 243 | } |
219 | 244 | ] |
220 | 245 | }, |
| 246 | + { |
| 247 | + "name": "clang-sycl-nvidia", |
| 248 | + "displayName": "Configure, build, install and test with SYCL using LLVM/Clang compilers on Nvidia hardware", |
| 249 | + "steps": [ |
| 250 | + { |
| 251 | + "type": "configure", |
| 252 | + "name": "clang-sycl-nvidia" |
| 253 | + }, |
| 254 | + { |
| 255 | + "type": "build", |
| 256 | + "name": "clang-sycl-nvidia" |
| 257 | + }, |
| 258 | + { |
| 259 | + "type": "test", |
| 260 | + "name": "clang-sycl-nvidia" |
| 261 | + } |
| 262 | + ] |
| 263 | + }, |
221 | 264 | { |
222 | 265 | "name": "oneapi-default", |
223 | | - "displayName": "Configure, build and install with oneAPI compilers", |
| 266 | + "displayName": "Configure, build, install and test with oneAPI compilers", |
224 | 267 | "steps": [ |
225 | 268 | { |
226 | 269 | "type": "configure", |
|
0 commit comments