Repository navigation
Expand file tree
/
Copy pathCMakePresets.json
More file actions
229 lines (229 loc) · 5.75 KB
/
Copy pathCMakePresets.json
File metadata and controls
229 lines (229 loc) · 5.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"GUFO_ENABLE_WARNINGS": "ON"
}
},
{
"name": "windows-base",
"hidden": true,
"inherits": "base",
"description": "Windows MSVC host + TheRock HIP SDK device toolchain",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"VCPKG_MANIFEST_INSTALL": "ON",
"VCPKG_TARGET_TRIPLET": "x64-windows-release",
"VCPKG_HOST_TRIPLET": "x64-windows-release",
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "${sourceDir}/cmake/toolchains/windows-therock.cmake"
}
},
{
"name": "windows-cpu-test",
"displayName": "Windows CPU Tests",
"description": "Host-contract suite on Windows without HIP",
"inherits": "windows-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"BUILD_TESTING": "ON",
"ENGINE_ENABLE_HIP": "OFF"
}
},
{
"name": "windows-release",
"displayName": "Windows Release",
"description": "Windows gfx1151 build used by the Devlab Windows checks",
"inherits": "windows-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"BUILD_TESTING": "OFF",
"ENGINE_ENABLE_HIP": "ON"
}
},
{
"name": "release",
"displayName": "Release",
"description": "Production gfx1151 build; same optimization as the Nix package",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"BUILD_TESTING": "OFF",
"ENGINE_ENABLE_HIP": "ON"
}
},
{
"name": "cpu-sanitizer",
"displayName": "CPU Sanitizer",
"description": "CPU-only build with AddressSanitizer and UndefinedBehaviorSanitizer enabled",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTING": "ON",
"GUFO_ENABLE_SANITIZERS": "ON",
"ENGINE_ENABLE_HIP": "OFF"
}
},
{
"name": "cpu-test",
"displayName": "CPU Tests",
"description": "CPU-only build for running unit and smoke tests with CTest",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"BUILD_TESTING": "ON",
"ENGINE_ENABLE_HIP": "OFF"
}
},
{
"name": "gpu-test",
"displayName": "gfx1151 GPU Tests",
"description": "Optimized correctness build with debug symbols and active test assertions",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"BUILD_TESTING": "ON",
"ENGINE_ENABLE_HIP": "ON",
"GUFO_BUILD_TOOLS": "ON"
}
},
{
"name": "gpu-tp2",
"displayName": "gfx1151 TP=2 RDMA Tests",
"description": "GPU correctness build with the optional native RDMA adapter",
"inherits": "gpu-test",
"cacheVariables": {
"GUFO_ENABLE_TP2_RDMA": "ON"
}
}
],
"buildPresets": [
{
"name": "windows-cpu-test",
"displayName": "Windows CPU Tests",
"configurePreset": "windows-cpu-test"
},
{
"name": "windows-release",
"displayName": "Windows Release",
"configurePreset": "windows-release"
},
{
"name": "release",
"displayName": "Release",
"configurePreset": "release"
},
{
"name": "cpu-sanitizer",
"displayName": "CPU Sanitizer",
"configurePreset": "cpu-sanitizer"
},
{
"name": "cpu-test",
"displayName": "CPU Tests",
"configurePreset": "cpu-test"
},
{
"name": "gpu-test",
"displayName": "gfx1151 GPU Tests",
"configurePreset": "gpu-test"
},
{
"name": "gpu-tp2",
"displayName": "gfx1151 TP=2 RDMA Tests",
"configurePreset": "gpu-tp2"
},
{
"name": "pr",
"configurePreset": "cpu-test",
"targets": [
"check-pr"
]
}
],
"testPresets": [
{
"name": "cpu-sanitizer",
"displayName": "CPU ASan and UBSan Tests",
"configurePreset": "cpu-sanitizer",
"output": {
"outputOnFailure": true
}
},
{
"name": "cpu-test",
"displayName": "CPU Tests",
"configurePreset": "cpu-test",
"output": {
"outputOnFailure": true
},
"filter": {
"include": {
"label": "cpu"
}
}
},
{
"name": "gpu-full",
"displayName": "All gfx1151 GPU Tests",
"configurePreset": "gpu-test",
"output": {
"outputOnFailure": true
}
},
{
"name": "gpu-fast",
"displayName": "Fast gfx1151 GPU Tests",
"configurePreset": "gpu-test",
"output": {
"outputOnFailure": true
},
"filter": {
"exclude": {
"label": "slow|external-model"
}
}
},
{
"name": "deepseek-gpu",
"displayName": "DeepSeek V4 Flash Checks",
"configurePreset": "gpu-test",
"output": {
"outputOnFailure": true
},
"filter": {
"include": {
"label": "ds4"
}
}
},
{
"name": "qwen-gpu-kernel-oracle",
"displayName": "Qwen Comprehensive GPU Kernel Oracle",
"configurePreset": "gpu-test",
"output": {
"outputOnFailure": true
},
"filter": {
"include": {
"label": "qwen-kernel-oracle"
}
}
}
]
}