Commit 67af453
authored
363 missing grb wait for collecting execution times (#364)
This MR adds calls to `grb::wait` for performance and other tests where its omission may result in false performance results for backends that perform nonblocking execution. This MR also fixes the following meta-bugs:
- the return code of the label propagation algorithm was ignored in the performance benchmark driver,
- same for the label propagation smoke test,
- some initialisation operations were not error-checked in the BiCGstab smoke test,
- same for the CG smoke tests,
- re-enabled `sleep(1)` in the HPCG benchmark to detect system variabilities.
All above changes only affect the ALP test suite. The MR does include one change that cannot be classified as a meta-bug:
- the Pregel API constructor did not account for nonblocking behaviour, and should wait before returning to adhere to RAII.
This changes the behaviour of all user applications based on ALP/Pregel in combination with the nonblocking backend; and only its performance characteristics (in particular, some of the initialisation of ALP/Pregel on some particular graph was previously be postponed until the execution of the first Pregel program-- after this change, all initialisation will have guaranteed to complete by the end of the constructor call). ALP/Pregel programs based on other backends remain unchanged in behaviour.
This MR also improves, on occasion, error reporting within the test suite, and, as always, includes code style fixes. Thank you to @aristeidis-mastoras for flagging these issues and providing the initial fixes!1 parent d82b61b commit 67af453
File tree
25 files changed
+768
-566
lines changed- include/graphblas/interfaces
- tests
- performance
- smoke
- hook
- unit
25 files changed
+768
-566
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
416 | 419 | | |
417 | 420 | | |
418 | 421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
99 | 111 | | |
100 | | - | |
| 112 | + | |
101 | 113 | | |
102 | | - | |
| 114 | + | |
103 | 115 | | |
104 | 116 | | |
105 | 117 | | |
| |||
111 | 123 | | |
112 | 124 | | |
113 | 125 | | |
114 | | - | |
| 126 | + | |
| 127 | + | |
115 | 128 | | |
116 | 129 | | |
117 | 130 | | |
| |||
163 | 176 | | |
164 | 177 | | |
165 | 178 | | |
166 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
167 | 183 | | |
168 | 184 | | |
169 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
170 | 189 | | |
171 | 190 | | |
172 | 191 | | |
| |||
179 | 198 | | |
180 | 199 | | |
181 | 200 | | |
182 | | - | |
| 201 | + | |
| 202 | + | |
183 | 203 | | |
184 | 204 | | |
185 | 205 | | |
| |||
197 | 217 | | |
198 | 218 | | |
199 | 219 | | |
200 | | - | |
201 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
202 | 225 | | |
203 | 226 | | |
204 | 227 | | |
| |||
237 | 260 | | |
238 | 261 | | |
239 | 262 | | |
240 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
241 | 268 | | |
242 | 269 | | |
243 | 270 | | |
244 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
245 | 276 | | |
246 | 277 | | |
247 | 278 | | |
| |||
255 | 286 | | |
256 | 287 | | |
257 | 288 | | |
258 | | - | |
| 289 | + | |
259 | 290 | | |
260 | 291 | | |
261 | 292 | | |
| |||
265 | 296 | | |
266 | 297 | | |
267 | 298 | | |
268 | | - | |
| 299 | + | |
| 300 | + | |
269 | 301 | | |
270 | 302 | | |
271 | 303 | | |
| |||
282 | 314 | | |
283 | 315 | | |
284 | 316 | | |
285 | | - | |
| 317 | + | |
286 | 318 | | |
287 | 319 | | |
288 | 320 | | |
| |||
298 | 330 | | |
299 | 331 | | |
300 | 332 | | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
301 | 337 | | |
302 | 338 | | |
303 | 339 | | |
| |||
359 | 395 | | |
360 | 396 | | |
361 | 397 | | |
| 398 | + | |
362 | 399 | | |
363 | 400 | | |
364 | 401 | | |
| |||
410 | 447 | | |
411 | 448 | | |
412 | 449 | | |
413 | | - | |
| 450 | + | |
414 | 451 | | |
415 | 452 | | |
416 | 453 | | |
| |||
421 | 458 | | |
422 | 459 | | |
423 | 460 | | |
424 | | - | |
| 461 | + | |
425 | 462 | | |
426 | 463 | | |
427 | 464 | | |
| |||
432 | 469 | | |
433 | 470 | | |
434 | 471 | | |
435 | | - | |
| 472 | + | |
436 | 473 | | |
437 | 474 | | |
438 | 475 | | |
| |||
443 | 480 | | |
444 | 481 | | |
445 | 482 | | |
446 | | - | |
| 483 | + | |
447 | 484 | | |
448 | 485 | | |
449 | 486 | | |
450 | 487 | | |
451 | | - | |
| 488 | + | |
452 | 489 | | |
453 | 490 | | |
454 | 491 | | |
| |||
472 | 509 | | |
473 | 510 | | |
474 | 511 | | |
475 | | - | |
| 512 | + | |
| 513 | + | |
476 | 514 | | |
477 | 515 | | |
478 | 516 | | |
479 | 517 | | |
480 | | - | |
| 518 | + | |
481 | 519 | | |
482 | 520 | | |
483 | 521 | | |
| |||
486 | 524 | | |
487 | 525 | | |
488 | 526 | | |
489 | | - | |
| 527 | + | |
490 | 528 | | |
491 | 529 | | |
492 | 530 | | |
493 | 531 | | |
494 | 532 | | |
495 | | - | |
| 533 | + | |
496 | 534 | | |
497 | 535 | | |
498 | 536 | | |
| |||
502 | 540 | | |
503 | 541 | | |
504 | 542 | | |
505 | | - | |
| 543 | + | |
506 | 544 | | |
507 | 545 | | |
508 | 546 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
149 | 153 | | |
150 | | - | |
151 | | - | |
| 154 | + | |
| 155 | + | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
| |||
198 | 202 | | |
199 | 203 | | |
200 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
201 | 209 | | |
202 | | - | |
203 | | - | |
| 210 | + | |
204 | 211 | | |
205 | 212 | | |
206 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| |||
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
272 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
273 | 278 | | |
274 | 279 | | |
275 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
100 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
101 | 112 | | |
102 | 113 | | |
103 | 114 | | |
| |||
122 | 133 | | |
123 | 134 | | |
124 | 135 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
128 | 139 | | |
| 140 | + | |
129 | 141 | | |
130 | 142 | | |
131 | 143 | | |
| |||
146 | 158 | | |
147 | 159 | | |
148 | 160 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
153 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
154 | 175 | | |
155 | 176 | | |
156 | 177 | | |
157 | 178 | | |
158 | 179 | | |
159 | 180 | | |
160 | | - | |
| 181 | + | |
161 | 182 | | |
162 | 183 | | |
163 | 184 | | |
| |||
0 commit comments