Commit ebbc1e5
authored
SYCL: fix use-after-free bug with async memcpy in MoE prefill (#24676)
* SYCL: fix a bug with async memcpy
* make mmid_row_mapping_host persistent
* comment on stream->wait
* Apply suggestion from @sanmai
* Apply suggestion from @sanmai
* Apply suggestion from @sanmai1 parent 9b260fc commit ebbc1e5
2 files changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
327 | 332 | | |
328 | 333 | | |
329 | 334 | | |
| |||
421 | 426 | | |
422 | 427 | | |
423 | 428 | | |
| 429 | + | |
| 430 | + | |
424 | 431 | | |
425 | 432 | | |
426 | 433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4224 | 4224 | | |
4225 | 4225 | | |
4226 | 4226 | | |
4227 | | - | |
4228 | | - | |
4229 | | - | |
4230 | | - | |
4231 | | - | |
4232 | 4227 | | |
4233 | 4228 | | |
4234 | 4229 | | |
| |||
4399 | 4394 | | |
4400 | 4395 | | |
4401 | 4396 | | |
| 4397 | + | |
| 4398 | + | |
4402 | 4399 | | |
4403 | 4400 | | |
4404 | 4401 | | |
| |||
4456 | 4453 | | |
4457 | 4454 | | |
4458 | 4455 | | |
4459 | | - | |
| 4456 | + | |
4460 | 4457 | | |
4461 | 4458 | | |
4462 | 4459 | | |
| |||
0 commit comments