Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeepyjack committed Aug 8, 2024
1 parent b5c4570 commit ad43a1f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 28 deletions.
36 changes: 18 additions & 18 deletions include/cuco/bloom_filter_ref.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -97,26 +97,26 @@ class bloom_filter_ref
// pattern[i] |= word_type{1} << (hash_value & bit_index_mask);
// hash_value >>= bit_index_width;
// }
}

return pattern;
}

private : uint32_t pattern_bits_;
Hash hash_;
storage_ref_type storage_ref_;

// Mixins need to be friends with this class in order to access private members
template <class Op, class Ref>
friend class detail::operator_impl;
return pattern;
}

// Refs with other operator sets need to be friends too
template <class Key_,
cuda::thread_scope Scope_,
class Hash_,
class StorageRef_,
class... Operators_>
friend class bloom_filter_ref;
private:
uint32_t pattern_bits_;
Hash hash_;
storage_ref_type storage_ref_;

// Mixins need to be friends with this class in order to access private members
template <class Op, class Ref>
friend class detail::operator_impl;

// Refs with other operator sets need to be friends too
template <class Key_,
cuda::thread_scope Scope_,
class Hash_,
class StorageRef_,
class... Operators_>
friend class bloom_filter_ref;
};

namespace detail {
Expand Down
10 changes: 0 additions & 10 deletions include/cuco/operator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,6 @@ struct for_each_tag {
struct add_tag {
} inline constexpr add; ///< `cuco::add` operator

namespace reduce {

/**
* @brief `sum` reduction operator tag
*/
struct sum_tag {
} inline constexpr sum;

} // namespace reduce

} // namespace op
} // namespace cuco

Expand Down

0 comments on commit ad43a1f

Please sign in to comment.