Commit 36713ec
committed
model-loader: keep io_uring reader active when buffer registration fails
hipHostMalloc buffers are already pinned by the HIP driver so
io_uring_register_buffers fails with ENOMEM on ROCm. Fall back to
unregistered io_uring reads rather than abandoning the ring entirely.1 parent cf60eb3 commit 36713ec
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1533 | 1533 | | |
1534 | 1534 | | |
1535 | 1535 | | |
1536 | | - | |
1537 | | - | |
| 1536 | + | |
1538 | 1537 | | |
1539 | 1538 | | |
1540 | 1539 | | |
| |||
0 commit comments