Skip to main content

Module async_resource

Module async_resource 

Source
Expand description

Stream-bound allocation through the shared raw storage owner.

Allocation uses one device-owned lifecycle stream and completes before block publication. Failed initialization retains actual storage and its byte charge. Deallocation moves real owners into the existing pending queue. Cold reaping proves physical free before releasing accounting; pool IDs alone are not completion evidence. Device/sanitizer qualification remains a separate gate.

Structsยง

AsyncCudaResource
Stream-bound allocator with explicitly owned deferred reclamation.