Commit 6853c5e
authored
Pdlp fix batch cuda graph (#68)
This PR aims at fixing the invalid operation while there is a graph
capture we sometimes see when using batch solve.
Solution is to use a regular instead of a non-blocking stream to make
sure that if any operation (like a cudaFree from Thrust) is being
launched on the default stream, it will wait for all other operations on
other stream to finish first, preventing any cudaMalloc/Free while
another stream might be doing a CUDA Graph capture.1 parent 09aa8c9 commit 6853c5e
File tree
2 files changed
+8
-4
lines changed- cpp
- include/cuopt/linear_programming/utilities
- src/linear_programming/utilities
2 files changed
+8
-4
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
216 | | - | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| |||
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| 287 | + | |
| 288 | + | |
286 | 289 | | |
287 | 290 | | |
288 | | - | |
| 291 | + | |
289 | 292 | | |
290 | 293 | | |
291 | 294 | | |
| |||
0 commit comments