Skip to content

Commit 563d7d3

Browse files
committed
Delete cccl_adaptors.hpp and use raw CCCL resource_ref types
Replace RMM's wrapper types (cccl_resource_ref, cccl_async_resource_ref) with direct aliases to CCCL's resource_ref and synchronous_resource_ref. This eliminates the 469-line adaptor layer that was originally needed to work around shared_resource type-erasure issues. The wrapper was no longer needed once the CCCL #8037 recursive constraint cycle was broken via template SFINAE constructors (previous commit). Additional changes required for compilation without the wrapper: - per_device_resource: static_cast<any_device_resource>(ref) replaced with any_device_resource{ref} (wrapper had operator any_resource) - cuda_async_memory_resource, cuda_async_managed_memory_resource, sam_headroom_memory_resource: copy/move changed from = delete to = default (CCCL resource_ref requires copyability; shared_resource base already provides correct reference-counted semantics) - device_check_resource_adaptor (test): template SFINAE constructor to break the same CCCL #8037 cycle
1 parent 7502908 commit 563d7d3

File tree

7 files changed

+56
-542
lines changed

7 files changed

+56
-542
lines changed

0 commit comments

Comments
 (0)