Skip to content

Commit e801d5e

Browse files
Copilotleofang
andcommitted
Remove verbose docstring Notes section per code review feedback
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
1 parent 2a8b536 commit e801d5e

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

cuda_core/cuda/core/experimental/_memory.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,6 @@ class DeviceMemoryResource(MemoryResource):
318318
Device ordinal for which a memory resource is constructed. The mempool that is
319319
set to *current* on ``device_id`` is used. If no mempool is set to current yet,
320320
the driver would use the *default* mempool on the device.
321-
322-
Notes
323-
-----
324-
During initialization, this class automatically configures the memory pool's release
325-
threshold for improved performance. If the current threshold is 0 (default), it is
326-
set to the maximum value to prevent immediate memory release when there are no active
327-
allocations, which can cause performance degradation.
328321
"""
329322

330323
__slots__ = ("_dev_id",)

0 commit comments

Comments
 (0)