Skip to content

Commit bee03d6

Browse files
authored
Remove bridge infrastructure and device_memory_resource (#2324)
## Summary - Delete `device_memory_resource.hpp` and `device_memory_resource_view.hpp` - Remove pointer-based `per_device_resource` APIs and bridge helpers - Simplify `cccl_adaptors.hpp` (remove DMR bridge code, retain wrapper for deletion in a follow-up) - Rewrite test mock resources (`mock_resource.hpp`, `device_check_resource_adaptor.hpp`) to use CCCL concepts directly - Update `callback_memory_resource`, aligned, arena, and failure_callback tests Closes #2296 Part of #2011
1 parent d0f847f commit bee03d6

29 files changed

+365
-854
lines changed

cpp/benchmarks/utilities/simulated_memory_resource.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
#include <rmm/aligned.hpp>
88
#include <rmm/detail/error.hpp>
9-
#include <rmm/detail/export.hpp>
109
#include <rmm/detail/format.hpp>
1110

1211
#include <cuda/memory_resource>
@@ -112,8 +111,8 @@ class simulated_memory_resource final {
112111
bool operator==(simulated_memory_resource const&) const noexcept { return true; }
113112
bool operator!=(simulated_memory_resource const&) const noexcept { return false; }
114113

115-
RMM_CONSTEXPR_FRIEND void get_property(simulated_memory_resource const&,
116-
cuda::mr::device_accessible) noexcept
114+
constexpr friend void get_property(simulated_memory_resource const&,
115+
cuda::mr::device_accessible) noexcept
117116
{
118117
}
119118

0 commit comments

Comments
 (0)