From 936f8fe3e0335c530cd001d3123b9fd61afc4ee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20J=C3=BCnger?= Date: Wed, 18 Sep 2024 17:34:54 +0000 Subject: [PATCH] Use explicit return type --- include/cuco/detail/bloom_filter/bloom_filter_impl.cuh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/cuco/detail/bloom_filter/bloom_filter_impl.cuh b/include/cuco/detail/bloom_filter/bloom_filter_impl.cuh index ab62cdb06..351ef404c 100644 --- a/include/cuco/detail/bloom_filter/bloom_filter_impl.cuh +++ b/include/cuco/detail/bloom_filter/bloom_filter_impl.cuh @@ -271,11 +271,9 @@ class bloom_filter_impl { private: template - __device__ auto vec_load_words(size_type index) const + __device__ cuda::std::array vec_load_words(size_type index) const { - using vec_type = cuda::std::array; - - return *reinterpret_cast(__builtin_assume_aligned( + return *reinterpret_cast*>(__builtin_assume_aligned( words_ + index, min(sizeof(word_type) * NumWords, required_alignment()))); }