Commit d5df4c5
authored
Compatibility with CCCL 3.2 (#755)
This PR introduces some fixes needed for CCCL 3.2.
The noteworthy changes are:
- Pinned memory resource must be copyable (required by CCCL 3.2's memory resource concepts), which means the "PIMPL" idiom must use a `shared_ptr` to make the resource copyable
- Header/namespace updates (pinned MR is no longer experimental)
- Resource adaptor comparison does not work with `optional` types due to constraints in the CCCL resource type machinery. This requires a workaround where optionals are not compared directly, but instead checked for `has_value()` before comparing their underlying objects. It may be possible to improve this as I continue refactoring RMM's bindings around CCCL memory resources.
Authors:
- Bradley Dice (https://github.com/bdice)
Approvers:
- Niranda Perera (https://github.com/nirandaperera)
URL: #7551 parent ec84d83 commit d5df4c5
3 files changed
Lines changed: 41 additions & 6 deletions
File tree
- cpp
- include/rapidsmpf/memory
- src
- memory
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
27 | 45 | | |
28 | 46 | | |
29 | 47 | | |
| |||
39 | 57 | | |
40 | 58 | | |
41 | 59 | | |
| 60 | + | |
42 | 61 | | |
43 | 62 | | |
44 | 63 | | |
| |||
55 | 74 | | |
56 | 75 | | |
57 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
58 | 81 | | |
59 | 82 | | |
| 83 | + | |
60 | 84 | | |
61 | 85 | | |
62 | 86 | | |
| |||
77 | 101 | | |
78 | 102 | | |
79 | 103 | | |
80 | | - | |
| 104 | + | |
81 | 105 | | |
82 | 106 | | |
83 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
131 | 142 | | |
132 | 143 | | |
133 | 144 | | |
0 commit comments