Skip to content

Commit 469e39b

Browse files
minor cleanup
1 parent 2001837 commit 469e39b

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

include/cuco/detail/probing_scheme_base.cuh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ template <int32_t CGSize>
3434
class probing_scheme_base {
3535
private:
3636
template <typename SizeType, typename HashType>
37-
__host__ __device__ constexpr SizeType sanitize_hash_positive(HashType hash) const noexcept
37+
__device__ constexpr SizeType sanitize_hash_positive(HashType hash) const noexcept
3838
{
3939
if constexpr (cuda::std::is_signed_v<SizeType>) {
4040
return cuda::std::abs(static_cast<SizeType>(hash));
@@ -45,7 +45,7 @@ class probing_scheme_base {
4545

4646
protected:
4747
template <typename SizeType, typename HashType>
48-
__host__ __device__ constexpr SizeType sanitize_hash(HashType hash) const noexcept
48+
__device__ constexpr SizeType sanitize_hash(HashType hash) const noexcept
4949
{
5050
if constexpr (cuda::std::is_same_v<HashType, cuda::std::array<std::uint64_t, 2>>) {
5151
#if !defined(CUCO_HAS_INT128)

include/cuco/detail/utils.cuh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717

1818
#include <cuco/detail/bitwise_compare.cuh>
1919

20-
#include <cuda/std/array>
2120
#include <cuda/std/bit>
22-
#include <cuda/std/cmath>
2321
#include <cuda/std/type_traits>
2422
#include <thrust/tuple.h>
2523

0 commit comments

Comments
 (0)