diff --git a/include/cuco/detail/probing_scheme_base.cuh b/include/cuco/detail/probing_scheme_base.cuh index 9ce06da92..7fbc5de32 100644 --- a/include/cuco/detail/probing_scheme_base.cuh +++ b/include/cuco/detail/probing_scheme_base.cuh @@ -34,7 +34,7 @@ template class probing_scheme_base { private: template - __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) { return cuda::std::abs(static_cast(hash)); @@ -45,7 +45,7 @@ class probing_scheme_base { protected: template - __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>) { #if !defined(CUCO_HAS_INT128) diff --git a/include/cuco/detail/utils.cuh b/include/cuco/detail/utils.cuh index f2aecc0ef..8da376437 100644 --- a/include/cuco/detail/utils.cuh +++ b/include/cuco/detail/utils.cuh @@ -17,9 +17,7 @@ #include -#include #include -#include #include #include