You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6cb1826
Browse filesBrowse the repository at this point in the historyBrowse files
docs(cuda.core): restore __weakref__ on VirtualMemoryResource and state the release wait
The Python class had __weakref__ as a subclass of an extension type;
the cdef class declares it, as Buffer and the pool-backed resources do.
VMM_DESIGN.md compared the blocking release to pool-backed deleters,
which do not block: cuMemFreeAsync is stream-ordered. The precedent is
_SynchronousMemoryResource and LegacyPinnedMemoryResource, which wait
in deallocate() on the same deleter path. The design doc, the class
docstring, close() and the release note now say that closing a buffer
waits for the work on its deallocation stream and how to control when
that happens. The release note also drops a sentence about the range
deleter synchronizing every recorded stream, which immutable ranges
made false. The follow-up for a stream-ordered release is NVIDIA#2989.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
0 commit comments