Skip to content

Buffer deallocation always happens on default stream #779

@shwina

Description

@shwina

There are two ways a buffer can be deallocated.

In the implicit case, no stream= argument is passed to the finalizer function, which means that if a buffer gets refcounted out or gc'd, it will always be deallocated on the default stream.

Possibly we want to change this so that the stream passed to the mr.allocate() function is used for deallocation by default.

Metadata

Metadata

Assignees

Labels

P0High priority - Must do!RFCPlans and announcementsbreakingBreaking changes are introducedcuda.coreEverything related to the cuda.core module

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions