Skip to content

[DOC] Correct active device requirements for deallocation of device_buffer, device_vector and friends #1523

Closed
@wence-

Description

Report incorrect documentation

Since #1370, it is no longer necessary for the user to ensure that the currently active device matches the device used during allocation for a device_buffer when the destructor runs. However, we still say that one must in the README documentation.

Conversely, since the initialized device_vector is just a wrapper around a thrust::device_vector, those objects do still have the previous restriction that the active device during deallocation must be the same as the active device during allocation (and this must be arranged by the user).

Metadata

Assignees

Labels

docDocumentation

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions