Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivasyadav18 committed Jun 6, 2024
1 parent 2001837 commit 469e39b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/cuco/detail/probing_scheme_base.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ template <int32_t CGSize>
class probing_scheme_base {
private:
template <typename SizeType, typename HashType>
__host__ __device__ constexpr SizeType sanitize_hash_positive(HashType hash) const noexcept
__device__ constexpr SizeType sanitize_hash_positive(HashType hash) const noexcept
{
if constexpr (cuda::std::is_signed_v<SizeType>) {
return cuda::std::abs(static_cast<SizeType>(hash));
Expand All @@ -45,7 +45,7 @@ class probing_scheme_base {

protected:
template <typename SizeType, typename HashType>
__host__ __device__ constexpr SizeType sanitize_hash(HashType hash) const noexcept
__device__ constexpr SizeType sanitize_hash(HashType hash) const noexcept
{
if constexpr (cuda::std::is_same_v<HashType, cuda::std::array<std::uint64_t, 2>>) {
#if !defined(CUCO_HAS_INT128)
Expand Down
2 changes: 0 additions & 2 deletions include/cuco/detail/utils.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@

#include <cuco/detail/bitwise_compare.cuh>

#include <cuda/std/array>
#include <cuda/std/bit>
#include <cuda/std/cmath>
#include <cuda/std/type_traits>
#include <thrust/tuple.h>

Expand Down

0 comments on commit 469e39b

Please sign in to comment.