Skip to content

Commit ea059c4

Browse files
authored
Revert hacks around compile issue with host device deduction (#4985)
We found the issue to be in some unclear compile issues within libcu++ `not_fn`, so we can revert all those hacks Revert "Silence compiler warnings about host device destructor (#4960)" Revert "[CTK 12.5]: Avoid another compiler issue with host device detection (#4971)" Authors: - Michael Schellenberger Costa (https://github.com/miscco) Approvers: - Seunghwa Kang (https://github.com/seunghwak) URL: #4985
1 parent d019f55 commit ea059c4

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

cpp/include/cugraph/edge_property.hpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ class edge_property_view_t {
5252
{
5353
}
5454

55-
// nvcc 12.5 sometimes deduces this as a host device function, just defining it fixes that
56-
~edge_property_view_t() {}
57-
edge_property_view_t(const edge_property_view_t&) = default;
58-
edge_property_view_t(edge_property_view_t&&) = default;
59-
edge_property_view_t& operator=(const edge_property_view_t&) = default;
60-
edge_property_view_t& operator=(edge_property_view_t&&) = default;
61-
6255
std::vector<ValueIterator> const& value_firsts() const { return edge_partition_value_firsts_; }
6356

6457
std::vector<edge_t> const& edge_counts() const { return edge_partition_edge_counts_; }
@@ -117,13 +110,6 @@ class edge_property_t {
117110
{
118111
}
119112

120-
// nvcc 12.5 sometimes deduces this as a host device function, just defining it fixes that
121-
~edge_property_t() {}
122-
edge_property_t(const edge_property_t&) = delete;
123-
edge_property_t& operator=(const edge_property_t&) = delete;
124-
edge_property_t(edge_property_t&&) = default;
125-
edge_property_t& operator=(edge_property_t&&) = default;
126-
127113
void clear(raft::handle_t const& handle)
128114
{
129115
buffers_.clear();

0 commit comments

Comments
 (0)