Repository navigation
Commit fc1d657
committed
docs(cuda.core): drop device-access claim from PinnedMemoryResource.allocate
The Returns text said the buffer is accessible from the device that the
stream belongs to. PinnedMemoryResource creates its pool from
CUmemPoolProps alone and never calls cuMemPoolSetAccess, and the driver
documents host-located pools as accessible from the host CPU by
default, so only the host access is established.
Signed-off-by: Vyron Vasileiadis <[email protected]>1 parent 0b5bfa3 commit fc1d657
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
| 130 | + | |
132 | 131 | | |
133 | 132 | | |
134 | 133 | | |
| |||
0 commit comments