Skip to content

Commit fc1d657

Browse files
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

File tree

‎cuda_core/cuda/core/_memory/_pinned_memory_resource.pyi‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ class PinnedMemoryResource(_MemPool):
9898
Returns
9999
-------
100100
Buffer
101-
The allocated buffer object, which is accessible from the host and
102-
from the device that the stream belongs to.
101+
The allocated buffer object, which is accessible from the host.
103102
104103
Raises
105104
------

‎cuda_core/cuda/core/_memory/_pinned_memory_resource.pyx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ cdef class PinnedMemoryResource(_MemPool):
127127
Returns
128128
-------
129129
Buffer
130-
The allocated buffer object, which is accessible from the host and
131-
from the device that the stream belongs to.
130+
The allocated buffer object, which is accessible from the host.
132131

133132
Raises
134133
------

0 commit comments

Comments
 (0)