Skip to content

Commit

Permalink
Use explicit return type
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeepyjack committed Sep 18, 2024
1 parent 6d85a53 commit 936f8fe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/cuco/detail/bloom_filter/bloom_filter_impl.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,9 @@ class bloom_filter_impl {

private:
template <uint32_t NumWords>
__device__ auto vec_load_words(size_type index) const
__device__ cuda::std::array<word_type, NumWords> vec_load_words(size_type index) const
{
using vec_type = cuda::std::array<word_type, NumWords>;

return *reinterpret_cast<vec_type*>(__builtin_assume_aligned(
return *reinterpret_cast<cuda::std::array<word_type, NumWords>*>(__builtin_assume_aligned(
words_ + index, min(sizeof(word_type) * NumWords, required_alignment())));
}

Expand Down

0 comments on commit 936f8fe

Please sign in to comment.