As part of #2011 (Memory Resource Handling), all adaptors have been converted to the cuda::shared_resource design. Each adaptor now stores its upstream as an owning cuda::mr::any_resource<cuda::mr::device_accessible>, so upstream lifetime is managed directly by the adaptor itself.
owning_wrapper was introduced in PR #444 to help users manage the lifetime of upstream resources passed to adaptors. With the shared_resource conversion complete, owning_wrapper is no longer necessary — the problem it solved no longer exists.
The only active consumer of owning_wrapper is adaptor_tests.cpp. Three benchmark files and mr_ref_test.hpp have stale #include directives with no actual usage.
Tasks
As part of #2011 (Memory Resource Handling), all adaptors have been converted to the
cuda::shared_resourcedesign. Each adaptor now stores its upstream as an owningcuda::mr::any_resource<cuda::mr::device_accessible>, so upstream lifetime is managed directly by the adaptor itself.owning_wrapperwas introduced in PR #444 to help users manage the lifetime of upstream resources passed to adaptors. With theshared_resourceconversion complete,owning_wrapperis no longer necessary — the problem it solved no longer exists.The only active consumer of
owning_wrapperisadaptor_tests.cpp. Three benchmark files andmr_ref_test.hpphave stale#includedirectives with no actual usage.Tasks
cpp/include/rmm/mr/owning_wrapper.hpp#include <rmm/mr/owning_wrapper.hpp>from benchmark and test filesowning_wrapperfrom the typed test suite inadaptor_tests.cpp