Commit 0de8e83
przemektmalon
[SYCL][UR][Bindless][Doc] Fix copy docs and implementation. (#19093)
This patch fixes the implementation of bindless image copies.
Previously, source and destination pitch values were not being set
correctly.
This patch also updates the wording around the requirements for
`ext_oneapi_copy`.
A missing requirement was added to the specification. Namely that the
`CopyExtent` parameter in the `ext_oneapi_copy` functions that take it,
must not have `0` values in any of the three dimensions, they must be
greater than or equal to `1`.
The requirements for `ext_oneapi_copy` have also been re-written to
prescribe what the functions expect, instead of providing a list of
cases in which the function may fail. This should hopefully make it
clearer and more prescriptive, rather than saying the copy function may
fail if some condition is not met, we now say that the functions require
that certain conditions be met.
The coverage for sub-region copy testing has also been extended to
prevent future regressions.1 parent 8f54710 commit 0de8e83
8 files changed
Lines changed: 514 additions & 179 deletions
File tree
- sycl
- doc/extensions/experimental
- source
- test-e2e/bindless_images/copies
- unified-runtime/source/adapters
- cuda
- hip
- level_zero
Lines changed: 43 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1335 | 1335 | | |
1336 | 1336 | | |
1337 | 1337 | | |
1338 | | - | |
1339 | | - | |
| 1338 | + | |
| 1339 | + | |
1340 | 1340 | | |
1341 | | - | |
1342 | | - | |
| 1341 | + | |
1343 | 1342 | | |
1344 | | - | |
1345 | | - | |
1346 | | - | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
1347 | 1346 | | |
1348 | 1347 | | |
1349 | | - | |
1350 | | - | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
1351 | 1352 | | |
1352 | | - | |
1353 | | - | |
| 1353 | + | |
1354 | 1354 | | |
1355 | | - | |
1356 | | - | |
| 1355 | + | |
| 1356 | + | |
1357 | 1357 | | |
1358 | | - | |
1359 | | - | |
| 1358 | + | |
| 1359 | + | |
1360 | 1360 | | |
1361 | | - | |
1362 | | - | |
| 1361 | + | |
| 1362 | + | |
1363 | 1363 | | |
1364 | | - | |
1365 | | - | |
| 1364 | + | |
| 1365 | + | |
1366 | 1366 | | |
1367 | | - | |
1368 | | - | |
| 1367 | + | |
| 1368 | + | |
1369 | 1369 | | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
| 1370 | + | |
| 1371 | + | |
1373 | 1372 | | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
| 1373 | + | |
| 1374 | + | |
1377 | 1375 | | |
1378 | | - | |
1379 | | - | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
1380 | 1394 | | |
1381 | | - | |
1382 | | - | |
1383 | 1395 | | |
1384 | 1396 | | |
1385 | 1397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 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 | + | |
101 | 128 | | |
102 | 129 | | |
103 | 130 | | |
| |||
257 | 284 | | |
258 | 285 | | |
259 | 286 | | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
| 287 | + | |
| 288 | + | |
270 | 289 | | |
271 | 290 | | |
272 | 291 | | |
| |||
279 | 298 | | |
280 | 299 | | |
281 | 300 | | |
282 | | - | |
283 | | - | |
284 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
285 | 306 | | |
286 | 307 | | |
287 | 308 | | |
| |||
309 | 330 | | |
310 | 331 | | |
311 | 332 | | |
312 | | - | |
313 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
314 | 340 | | |
315 | 341 | | |
316 | 342 | | |
| |||
1618 | 1644 | | |
1619 | 1645 | | |
1620 | 1646 | | |
1621 | | - | |
1622 | | - | |
1623 | | - | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
1624 | 1654 | | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
1625 | 1658 | | |
1626 | 1659 | | |
1627 | 1660 | | |
| |||
1650 | 1683 | | |
1651 | 1684 | | |
1652 | 1685 | | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
1653 | 1691 | | |
1654 | 1692 | | |
1655 | 1693 | | |
1656 | | - | |
1657 | | - | |
| 1694 | + | |
| 1695 | + | |
1658 | 1696 | | |
1659 | 1697 | | |
1660 | | - | |
| 1698 | + | |
1661 | 1699 | | |
1662 | 1700 | | |
1663 | 1701 | | |
| |||
0 commit comments