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
## Summary
- Replace `device_memory_resource*` with `device_async_resource_ref`
across all C++ headers, sources, benchmarks, examples, and tests.
- In Cython `.pxd` declarations, change `device_memory_resource *mr`
parameters to `device_async_resource_ref mr` (value type). In `.pyx`
files, replace `mr.get_mr()` calls with `mr.c_ref.value()`.
- Remove `cudf::set_current_device_resource` (pointer-based) wrapper,
keeping only the ref-based `set_current_device_resource_ref`. Update
return types of `set/reset_current_device_resource_ref` to
`cuda::mr::any_resource<cuda::mr::device_accessible>`.
- In `host_memory.cpp`, remove `device_memory_resource` inheritance from
`pinned_pool_with_fallback_memory_resource`, remove the forward
declaration workaround for `rmm::mr::pool_memory_resource` (no longer
templated), and wrap non-copyable state in `shared_ptr` to satisfy the
`any_resource` copyability requirement.
Part of rapidsai/rmm#2011.
Depends on rapidsai/rmm#2361.
---------
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
0 commit comments