Skip to content

Commit

Permalink
Return!
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed Oct 2, 2024
1 parent c3bbe1a commit bb4f5f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/cuco/detail/hash_functions/murmurhash3.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ struct MurmurHash3_32 {
constexpr result_type __host__ __device__ compute_hash(std::byte const* bytes,
Extent size) const noexcept
{
this->compute_hash(reinterpret_cast<cuda::std::byte const*>(bytes), size);
return this->compute_hash(reinterpret_cast<cuda::std::byte const*>(bytes), size);
}

private:
Expand Down Expand Up @@ -388,7 +388,7 @@ struct MurmurHash3_x64_128 {
constexpr result_type __host__ __device__ compute_hash(std::byte const* bytes,
Extent size) const noexcept
{
this->compute_hash(reinterpret_cast<cuda::std::byte const*>(bytes), size);
return this->compute_hash(reinterpret_cast<cuda::std::byte const*>(bytes), size);
}

private:
Expand Down Expand Up @@ -605,7 +605,7 @@ struct MurmurHash3_x86_128 {
constexpr result_type __host__ __device__ compute_hash(std::byte const* bytes,
Extent size) const noexcept
{
this->compute_hash(reinterpret_cast<cuda::std::byte const*>(bytes), size);
return this->compute_hash(reinterpret_cast<cuda::std::byte const*>(bytes), size);
}

private:
Expand Down
4 changes: 2 additions & 2 deletions include/cuco/detail/hash_functions/xxhash.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ struct XXHash_32 {
constexpr result_type __host__ __device__ compute_hash(std::byte const* bytes,
Extent size) const noexcept
{
this->compute_hash(reinterpret_cast<cuda::std::byte const*>(bytes), size);
return this->compute_hash(reinterpret_cast<cuda::std::byte const*>(bytes), size);
}

private:
Expand Down Expand Up @@ -403,7 +403,7 @@ struct XXHash_64 {
constexpr result_type __host__ __device__ compute_hash(std::byte const* bytes,
Extent size) const noexcept
{
this->compute_hash(reinterpret_cast<cuda::std::byte const*>(bytes), size);
return this->compute_hash(reinterpret_cast<cuda::std::byte const*>(bytes), size);
}

private:
Expand Down

0 comments on commit bb4f5f6

Please sign in to comment.