Commit e0b411c
Przemek Malon
Enable creation of bindless images backed by host USM
Small patch to enable bindless images backed by host USM in the CUDA
adapter.
Host and Device USM pointers are usable across the host and device
for all versions of CUDA that we support. There is no need to provide
the `CU_MEMHOSTALLOC_DEVICEMAP` flag during allocation, or calling
`cuMemHostGetDevicePointer` to retrieve a device usable address.
Passing a `CU_MEMHOSTALLOC_WRITECOMBINED` flag to the host USM
allocation will enhance performance in certain scenarios, however, an
extension allowing this is not yet available.1 parent 73dda25 commit e0b411c
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
537 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
538 | 540 | | |
539 | 541 | | |
540 | 542 | | |
| |||
0 commit comments