From bb4f5f62a278290989eb3786e30fbb9ab6a88422 Mon Sep 17 00:00:00 2001 From: Yunsong Wang Date: Wed, 2 Oct 2024 10:45:22 -0700 Subject: [PATCH] Return! --- include/cuco/detail/hash_functions/murmurhash3.cuh | 6 +++--- include/cuco/detail/hash_functions/xxhash.cuh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/cuco/detail/hash_functions/murmurhash3.cuh b/include/cuco/detail/hash_functions/murmurhash3.cuh index ea91322d7..7aaa14d20 100644 --- a/include/cuco/detail/hash_functions/murmurhash3.cuh +++ b/include/cuco/detail/hash_functions/murmurhash3.cuh @@ -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(bytes), size); + return this->compute_hash(reinterpret_cast(bytes), size); } private: @@ -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(bytes), size); + return this->compute_hash(reinterpret_cast(bytes), size); } private: @@ -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(bytes), size); + return this->compute_hash(reinterpret_cast(bytes), size); } private: diff --git a/include/cuco/detail/hash_functions/xxhash.cuh b/include/cuco/detail/hash_functions/xxhash.cuh index 6f1f30dd8..cc5ab06f6 100644 --- a/include/cuco/detail/hash_functions/xxhash.cuh +++ b/include/cuco/detail/hash_functions/xxhash.cuh @@ -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(bytes), size); + return this->compute_hash(reinterpret_cast(bytes), size); } private: @@ -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(bytes), size); + return this->compute_hash(reinterpret_cast(bytes), size); } private: