File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ template <int32_t CGSize>
3434class 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)
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments