Skip to content

Commit

Permalink
Revert "Restore the deprecated with_key_eq to prevent breaking chan…
Browse files Browse the repository at this point in the history
…ges in l…"

This reverts commit c9c115e.
  • Loading branch information
PointKernel authored Oct 11, 2024
1 parent 71e8f81 commit 0f5eada
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
14 changes: 0 additions & 14 deletions include/cuco/detail/static_set/static_set_ref.inl
Original file line number Diff line number Diff line change
Expand Up @@ -298,20 +298,6 @@ static_set_ref<Key, Scope, KeyEqual, ProbingScheme, StorageRef, Operators...>::r
this->storage_ref()};
}

template <typename Key,
cuda::thread_scope Scope,
typename KeyEqual,
typename ProbingScheme,
typename StorageRef,
typename... Operators>
template <typename NewKeyEqual>
__host__ __device__ constexpr auto
static_set_ref<Key, Scope, KeyEqual, ProbingScheme, StorageRef, Operators...>::with_key_eq(
NewKeyEqual const& key_equal) const noexcept
{
return this->rebind_key_eq(key_equal);
}

template <typename Key,
cuda::thread_scope Scope,
typename KeyEqual,
Expand Down
13 changes: 0 additions & 13 deletions include/cuco/static_set_ref.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -245,19 +245,6 @@ class static_set_ref
[[nodiscard]] __host__ __device__ constexpr auto rebind_key_eq(
NewKeyEqual const& key_equal) const noexcept;

/**
* @brief Makes a copy of the current device reference with the given key comparator
*
* @tparam NewKeyEqual The new key equal type
*
* @param key_equal New key comparator
*
* @return Copy of the current device ref
*/
template <typename NewKeyEqual>
[[nodiscard]] __host__ __device__ constexpr auto with_key_eq(
NewKeyEqual const& key_equal) const noexcept;

/**
* @brief Makes a copy of the current device reference with the given hasher
*
Expand Down

0 comments on commit 0f5eada

Please sign in to comment.